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 02:02 PM 09/25/2000 +0200, Taras Tielkes wrote:
>When I query the doc root node for "//", the parser will report that it is
>an "Incomplete XPath statement".
>The current MSXML beta has some bugs, but the only missing XPath feature
>listed is the namespace axis.

The XPath spec says of the // abbreviated syntax:

      // is short for /descendant-or-self::node()/

Perhaps that explains why a plain // doesn't work. It lacks a node test 
following the second slash. The slash is just a delimiter *between* 
portions of the location path, a sort of conjunction which says "and 
*then*..." -- it's not a, umm, location step in its own right.

==========================================================
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]