xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: AW: [xsl] why is "(chapter//footnote)[1]" illegal?


Subject: RE: AW: [xsl] why is "(chapter//footnote)[1]" illegal?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 24 Aug 2003 08:08:53 +0100

>   (chapter/para)[1]		yes (kay, 408)
>   (chapter//footnote)[1]	no (kay, 443)
>   ($chapters//diagram)[1]	yes (kay, 355)
> 
> it's not at all clear *intuitively* why the first and third 
> expressions are acceptable patterns, while the second isn't.  


None of these are acceptable as XSLT patterns. 

Pages 355 and 408 are in the chapter discussing XPath expressions, not
XSLT patterns.

The syntax rules for patterns do not allow parentheses.

Michael Kay


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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor