[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: positional predicates in XPath vs XQL

Subject: Re: positional predicates in XPath vs XQL
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Sat, 24 Nov 2001 07:56:44 +0100
van der sat
Christopher R. Maden wrote:


node, <2>. Is my understanding correct?

No. Whence did you acquire it?

Fallacious raciotination obviously.

I'll bite. What is the correct result in the XPath case??


Nodes 2, 5, and 7.


I guess that the confusion comes out of the fact that even though /section/para[ 1 ] is a node set containing nodes 2, 5 and 7, its string "value" is the string value of the first node in this list, i.e. the string value of node 2.

Thus, if you display this node set using the XPath string() function or the xsl:value-of XSLT element, you will get the string value of node 2 even though the node set is indeed the list (node 2, node 4, node 5).

Eric
--
See you in Orlando for XML 2001.
                                    http://www.xmlconference.net/xmlusa/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.