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

Re: Calling subdocuments with processing directives

Subject: Re: Calling subdocuments with processing directives
From: Steven Ericsson-Zenith <steven@xxxxxxxxxxxxx>
Date: Fri, 26 Oct 2007 08:48:25 -0700
Re:  Calling subdocuments with processing directives
Thanks Michael, the XPath here is not immediately clear to me where does $docs come from?

For the sake of my greater understanding - is there some fundamental reason why this is the case? It seems counter intuitive but I am not fully immersed yet in the XSL culture.

Thanks,
Steven

--
Dr. Steven Ericsson-Zenith
Institute for Advanced Science & Engineering
http://iase.info
http://senses.info



On Oct 26, 2007, at 3:28 AM, Michael Kay wrote:


Does that mean that a single key definition will not aggregate from multiple documents? If so, then that is the problem.


You have to do the aggregation yourself:


for $d in $docs return key('k', 'some-value', $d)

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.