You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by "Coyne, Jimmy " <Ji...@CSX.com> on 2003/03/14 14:54:02 UTC

sending objects to an xsl

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