Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Calling subdocuments with processing directives


Subject: Re: [xsl] Calling subdocuments with processing directives
From: Steven Ericsson-Zenith <steven@xxxxxxxxxxxxx>
Date: Fri, 26 Oct 2007 08:48:25 -0700

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
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords