Is there a way to direct the key() function back to the
principal document while the context node is located in
another document?
In XSLT 2.0, use the third argument of key() to tell it which document to
search. In 1.0, you need to change context to that document, which you can
do using xsl:for-each.
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>
--~--