[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: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 26 Oct 2007 17:26:13 +0100
RE:  Calling subdocuments with processing directives
> 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
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-2011 All Rights Reserved.