This is almost certainly either a CLASSPATH issue or a servlet container
configuration issue (apologies in advance if I missed a really simple xsl
problem, although it's really hard to diagnose from such a small xsl
snippet).
Remember, different parsers may have different default settings, especially
for handling namespaces. Also, the CLASSPATH you see in your command line
environment is likely completely different than your application sees
inside the servlet container.
As Gary's mentioned a dozen times or so:
> Also, in your servlet (in Websphere or whatever), please include the
following line just before
> kicking off the transformation:
>
> boolean environmentOK = (new
> EnvironmentCheck()).checkEnvironment(yourPrintWriter);
Compare this output with the same output from just running
org.apache.xalan.xslt.EnvironmentCheck from your command line on your local
box.
- Shane