DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19038>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19038 Dynamic params (<xsl:param..> as argument in java call) [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] | |.com ------- Additional Comments From [EMAIL PROTECTED] 2003-10-07 17:38 ------- I added a new extension function for XSLTC. Using this extension function, it is possible to recover type information lost by the use of xsl:param. Here is an example: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="http://xml.apache.org/xalan/java" xmlns:xsltc="http://xml.apache.org/xalan/xsltc"> <xsl:param name="object"/> <xsl:template match="/"> <xsl:value-of select="java:length(xsltc:cast('java.lang.String', $object))"/> </xsl:template> </xsl:stylesheet> Jose: If you pick up the latest CVS and use this new extension function, you should be able to solve the problem you point out regarding 'complex' objects. Let us know how it goes.
