sending objects to an xsl 2003-03-14 - By Coyne, Jimmy
I've just discovered the world of xslt Extensions and am wondering ,is it possible to send a simple bean to a XSL stylesheet and invoke methods on the bean using Xalan extensions
Ive tried to do the following Transformer transformer =tFactory.newTransformer(newStreamSource("examples.xsl")); transformer.setParameter("simple" ,simpleBeam);
But I don't know how to call the method on the object.
I've tried
<xsl:parm name="simple"/> ....... <xsl:value-of setlect="simple.getName()"/>
But it throws an error.
Any ideas? Thanks Jim
|
|