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

RE: Patterns usage in XSLT template rules

Subject: RE: Patterns usage in XSLT template rules
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 2 May 2005 15:17:42 +0100
xslt usage
> Sorry for not being clear enough, but I had meant to ask "why are
> patterns like (foo) or (/child::foo) considered invalid patterns as
> per XSLT specification ?"

The syntax for patterns was designed as a subset of XPath path expressions
that makes it easy and efficient to test whether a particular node is
selected by the expression or not. Clearly there are a number of ways this
subset could have been expanded - including some useful ways such as
allowing a/b/(d|e) - but on the whole, the current definition seems to have
provided most of what users need while remaining efficient to implement, and
there has been little pressure to change it.

Michael Kay
http://www.saxonica.com/

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.