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

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

Subject: AW: why is "(chapter//footnote)[1]" illegal?
From: Markus Abt <abt@xxxxxxxx>
Date: Sat, 23 Aug 2003 17:44:18 +0200
illegal boning
Hi Robert,

a pattern (p.443) is a path expression, but not every
path expression (.p408) is a valid pattern.

Regards,
Markus
__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de



----------
Von: 	Robert P. J. Day
Gesendet: 	Samstag, 23. August 2003 15:08
An: 	XSL List
Betreff: 	 why is "(chapter//footnote)[1]" illegal?


  boning up on my predicates and patterns, i'm reading
kay, p. 443, which states:

  "(chapter//footnote)[1] is not a valid pattern.  (Why not?
No good reason, it's just that the spec doesn't allow it."

  but on p. 408, there is an explanation of the (apparently
acceptable) path expression "(chapter/para)[1]".  

  so is it just the difference between using the child axis
and the descendant-or-self axis?  it's not obvious to me
why the first should be illegal while the second is legal.

rday


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



 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.