08-19-2009 09:27 AM
Hi everyone
parsing an XML file, how do I get all the child nodes with the same tag after a given parent node?
example:
<Mario>
<Luigi>
<Marco>
<Luigi>
<Luigi>
<Giulio>
given Mario I want the node list of Luigi Tag.
Consider that there may be more than one Mario tag. I want all the Luigi tags after (children) a specific Mario tag (Parent) say the 3rd of a nodelist of Mario tag in my document.
Thank you,
diego
08-20-2009 02:59 AM
Hi Diego,
have you tried the Property Node ChildNodesArray?
You can pass the parent node reference and search on the child nodes what you want?
Is this what you looking for?
08-20-2009 09:36 AM
Thank you
I think you mean right the same way I did
tell me if you would change it in some more efficient or clear way
diego
08-20-2009 10:19 AM
I think it's Ok
Good Job Diego!