Inside the for-each, I want to access some nodes from the source doc using XPath, but it seems like all of my XPath statements match only the data.xml doc referenced in the document() function. For instance, an <apply-templates select="/"/> in the for-each will match the root node of the data.xml doc.
Is there a way I can use XPath (or another mechanism maybe) to get back to the original source doc passed to the processor?
Thanks in advance,
~ Justin
P.S. I am fairly novice with XSLT so this may be a stupid question.