in reply to Re^2: XML::LibXML problem
in thread XML::LibXML problem
To get both elements and text nodes, do$parent->findnodes("*")
To get text nodes and elements containing text, do$parent->findnodes("* | text()")
And so on.$parent->findnodes("*[text()] | text()")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: XML::LibXML problem
by norricorp (Initiate) on Dec 29, 2011 at 16:11 UTC | |
by choroba (Cardinal) on Dec 29, 2011 at 16:18 UTC | |
by norricorp (Initiate) on Dec 29, 2011 at 16:38 UTC |