Re: (2 xpath questions)

Subject: Re: (2 xpath questions)
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Mon, 25 Sep 2000 19:46:14 -0400
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