Hi cocoon users, I would like to pass parameters to an XSLT transformer that are not strings but objects. (I like to use objects as non XSLT variable for Java calls in XALAN extensions).
I used an action to create sitemap parameters and passed them to the transformer. But it doesnt't work, as the object is transformed to a string with toString() before the value is passed to the XSLT processor. example: A custom action adds a sitemap parameter -> ... map.put("person", new Person() ); return map; In the sitemap the paramter it tried to pass to the transformer: <map:transform src="z.xsl"> <map:parameter name="data" value="{person}" /> ... Unfortunatly {person} results in a string as it calls Person.toString(), but I would like to pass the reference of the person in the XSL parameter "data" After browsing some code, it seams that this limitation is caused only by the sitemap and not by the XSL processor ? Has anybody an idea how to pass objects as parameters to XSLT ? , Should I use an other sitemap syntax for the parameter ? Implement an own transformer :-( ?? Thank you for any comment, Maurice --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>