This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (2 xpath questions)


At 11:42 PM 09/25/2000 +0200, Taras Tielkes wrote:

>----- Original Message -----
>From: "John E. Simpson" <simpson@polaris.net>
>To: <xsl-list@mulberrytech.com>
>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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]