Hi, in my xsl stylesheets i use a lot of 'document()' functions to load in external xml documents for transformation. i did not hardcode the path and filename of the xml files; instead i put them in variables like this (globally):
<xsl:param name="content" select="default-value" />
<xsl:variable name="content" select="document($content)" />
This used to work fine previously in Xalan-J version 1.1. But with version 1.2, the document() function complained of 'out of context or no definition' error; instead it will only work if i put the full pathname of the xml file in the document function, like this:
select="document('d:\xml\something.xml')". It seems that document() no longer do variable interpolation?
Has anyone encountered the same problem? TIA.