The <%=dynXSLT%> is not evaluated and the value is not inserted as if one is using it in xsl:apply (for a fixed file). **** CODE START **** <% String dynXSLT = "/servlet/getXSLT?id=23"; %> <xsl:import id="myxml" page="/xml/employees.xml"/> <xsl:import id="myxsl" page="<%=dynXSLT%>"/> <xsl:apply nameXml="myxml" nameXsl="myxsl"/> **** CODE END ****
Thanks for reporting this. I have enabled rtexprvalue in the tld for both the import and include page attributes. Available in the next nightly build.