[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] problem passing parameter from java


Subject: [xsl] problem passing parameter from java
From: Bear Giles <bgiles@xxxxxxxxxxxxxxxx>
Date: Wed, 04 Jan 2006 15:15:33 -0700

Hi,

I'm having a problem passing a parameter from java. A common service class does the XSLT transformation.

When I run the standalone app, the parameter is passed and I can generate a HTML table with the usual

<xsl:apply-templates select="//values[@id=$id]"/>

When I run from a tomcat applet, the parameter is not getting passed and there are no matches. I can verify that no (or null) parameter is passed with <xsl:value-of>. The diagnostic messages show that the parameter is getting to the transformer.setParameter("id", id) call.

Both standalone and tomcat use Sun J2SDK 1.5. I believe the standalone classpath includes xalan-2.5, I know the tomcat applet classpath does.

Ideas?

Bear Giles


Current Thread
Keywords