|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xpath Question
On Fri, Jul 25, 2003 at 11:33:56AM -0700, Michael Rys wrote: > It is either 2 or 5 depending on whether your parser preserved the text > nodes containing boundary whitespace. Considering the XML file given nothing allows the XML processor to not preserve them, moreover the XPath data model requires to see those text node. On the other hand the question is weak because XPath has no conformance clause, so the question would have to e asked on the context of a processing (XSLT/ XPointer/ DOM 3/ ...) environment which define conformance. Still from an XSLT viewpoint the answer is unambiguously 5. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ veillard@r... | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








