Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need MSXML DOM Node level
Message
From
24/12/2010 14:30:00
 
 
To
All
General information
Forum:
ASP.NET
Category:
XML
Title:
Need MSXML DOM Node level
Miscellaneous
Thread ID:
01493817
Message ID:
01493817
Views:
137
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
Reply
Map
View

Click here to load this message in the networking platform