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

Re: (2 xpath questions)

Subject: Re: (2 xpath questions)
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Mon, 25 Sep 2000 19:46:14 -0400
Re: (2 xpath questions)
At 11:42 PM 09/25/2000 +0200, Taras Tielkes wrote:

----- Original Message -----
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Monday, September 25, 2000 3:52 PM
Subject: Re: (2 xpath questions)
> ...The XPath spec says of the // abbreviated syntax:
>
>       // is short for /descendant-or-self::node()/
>
>

The long form, "/descendant-of-self::node()" will work in MSXML, again using
the XPath DOM querying methods.

Ah yes, but that "long form" does NOT include the trailing /, and that's why it works, while simply /[descendant-or-self::node()]/ does not. Try the long form you quote above, but tack an extra slash on it and see if it still works.


==========================================================
John E. Simpson | "If you were going to
http://www.flixml.org | shoot a mime, would you use
XML Q&A: http://www.xml.com | a silencer?" (Steven Wright)



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.