BAD MSG:
would happen when trying to use a variable holding a non-Xalan type in an XPath
expression. How would Xalan know the
orrect conversion from a non-Xalan type? There is a description of passing
non-Xalan arguments. I think this means
you'll have to nest the arguments without using intermediate Xalan variables.
Have you tried:
<xsl:template match="ile:page">
<xsl:variable name="this" select="java:addController(
$sitemap,
java:edu.virtualschool.jile.ctlr.XMLFile.new(
string(ile:content/ile:xsl),string(ile:content/ile:xml)),
java:edu.virtualschool.jile.ctlr.XMLFile.new(
string(ile:template/ile:xsl),xml.apache.orgstring(ile:template/ile:xml))
)"/>
<xsl:apply-templates select="ile:page"/>
</xsl:template>