xsl-list
[Top] [All Lists]

Re: [xsl] Calling subdocuments with processing directives

2007-10-26 09:30:13

Why does the key not aggregate all the values it sees?

Steven

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



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
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--