Hi Monks!
im not an expert in perl but I have tried to find a way to get this done but not working well for me.
what is the best xpath expression to get the element of a node but without including the parent tags ?
i.e <Root> <Parent> <child1></child1> <child2></child2> <child3></child3> </Parent> </Root>
im only interested in the 3 children within the parent tags, where each has a different name.
What im currently using is '//Parent' im using findnodes from ::LibXML
In reply to XML dont include parent node by zak_s
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |