So, I am in the first XML, do some processing, write the IDs
in the 2nd XML. Then I open 2nd XML, read the ID and now I
want to go back to first XML, find the matching articles and
list the descriptions for those. Any help is greatly appreciated.
The standard approach is to declare a global variable
<xsl:variable name="root" select="/"/>
and then you can refer to your primary input document at any time using
the variable $root.
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list