"Text node" is not an element containing text. It is an abstract node in the XML DOM structure that corresponds to the text itself. Moreover, //* only matches elements, not text nodes. To match text nodes, use //text().if ($node->nodeType == XML_TEXT_NODE) {
In reply to Re: XML::LibXML problem
by choroba
in thread XML::LibXML problem
by norricorp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |