Hi Miro,
Use the <xsl:parameter name="XXX"/> in the style sheet and from the java
code use
transformer.setParameter("XXX" "VALUE_OF_OBJECT").
This will enable you to access all methods of this object in the stylesheet.Regards, Ankur -----Original Message----- From: Miroslav Nachev [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2002 9:53 PM To: [email protected]; [EMAIL PROTECTED] Subject: Passing parameters in XSLT Hi! Can anybody tell me an easy way of passing an external parameter (an object or a value) from a Java object to a XSL stylesheet, that will be visible during transformation. The only way I find is by using an external function, but for some reasons it is not convenient for me. Thanks. Miro
