[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 09:29:34 -0700
Re:  Calling subdocuments with processing directives
Why does the key not aggregate all the values it sees?


Dr. Steven Ericsson-Zenith
Institute for Advanced Science & Engineering

On Oct 26, 2007, at 9:26 AM, Michael Kay wrote:

Thanks Michael, the XPath here is not immediately clear to me
where does $docs come from?

Sorry, I was being too terse. You have a set of documents that you want to
aggregate for searching. I assumed that set of documents was bound to the
variable $docs.

Incidentally, David's formulation $docs/key(x,y) works equally well - so
long as you remember that the context for evaluating y is different in the
two expressions.

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.

Sorry - why *what* is the case?

Michael Kay

Current Thread


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.
First Name
Last Name
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.