xsl-list
[Top] [All Lists]

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

2009-10-07 16:54:15

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
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>