Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need MSXML DOM Node level
Message
De
24/12/2010 14:30:00
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
XML
Titre:
Need MSXML DOM Node level
Divers
Thread ID:
01493817
Message ID:
01493817
Vues:
138
Is there a way to retrieve how many levels deep a node is from the XML root? (i.e. count of parent > parent > .... > root). I can't find any property that returns anything like that (how many parents back to the root).

I'm using MSXML DOM (and am not using .Net) in a recursive routine, but the recursion depth isn't hasn't proven to be useful for some reason (the files are large and most elements are irrelevant and are ignored).

thanks,
Tom
Répondre
Fil
Voir

Click here to load this message in the networking platform