xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] [XPath 2.0] Two XPath expressions to the same node, yielding different results with "instance of text()"


Subject: [xsl] [XPath 2.0] Two XPath expressions to the same node, yielding different results with "instance of text()"
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Wed, 7 Oct 2009 16:53:47 -0400

Hi Folks,

Why does this XPath expression return true:

/FitnessCenter/Member[1]/MembershipFee/node() instance of text()

whereas this returns false:

//MembershipFee[1]/node() instance of text()

Both reference the node within the first MembershipFee element; so I would
think they should both return true.

/Roger


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor