xsl-list
[Top] [All Lists]

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

2008-02-15 05:11:41
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/

--~------------------------------------------------------------------
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>
--~--