Mike Boutin wrote:
Doesnt XPath.selectNodes(myxml, "pathtocontent/text()"); return the text value as well?
The documentation says, that selectNodes *always* returns an array of XMLNode-objects - and it does. Always.
The "text()"-syntax is only used to get the XMLNode representing a text node - that has no nodeName and thus cannot be accessed otherwise.
-- Morten Barklund - Information Architect - Shockwaved ApS Larsbjoernsstraede 8 - DK-1454 Copenhagen K, Denmark Phone: +45 7027 2227 - Fax: +45 3369 1174 _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders