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

Re: Compact XPath syntax

Subject: Re: Compact XPath syntax
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 19 Dec 2007 23:52:50 GMT
Re:  Compact XPath syntax
//c  seems to be what you are looking for.


However

> The compact XPath expression could then be actually compiled into the
> complete xpath expression at compilation time
you can't expand //c to /a/b/c at compile time as teh path osn't known
> until run time, as it varies on the document supplied at run time.

In XSLT2, with a schema aware processor, in some limited situations, you
may be able to use knowledge of a schema to make such optimsations
but in general this is not possible.

David

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.