Re: [xsl] Accessing input document from extension function loop (XSL 1.0)

Subject: Re: [xsl] Accessing input document from extension function loop (XSL 1.0)
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 15 Feb 2008 13:10:58 +0100
Michael Ludwig wrote:

From inside the xsl:for-each loop using the content generated by
the extension function, I don't seem to be able to access my original
input document. Am I mistaken here or is this assumption correct?

If it is correct, why is this so?

And is there a remedy?

You could use a global variable <xsl:variable name="main-doc" select="/"/> then you can access that variable as needed.

--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread