I'm trying to run the XSL JavaScript counter example at the bottom of http://xml.apache.org/xalan-j/extensions.html.

I have bsf.jar and js.jar on my classpath. When I run the transformation usint the -TT and -TG options, I get the following output:

file:/d:/temp/test2.xslt Line #27, Column #-1: template match='/'
STARTDOCUMENT
STARTELEMENT: HTML
<HTML xmlns:xalan="http://xml.apache.org/xalan";>
STARTELEMENT: H1
CHARACTERS: Names in alphatebical order
ENDELEMENT: H1
file:/d:/temp/test2.xslt; Line #30; Column #-1; TRaX Transform Throwable
<H1>Names in alphatebical order</H1>
STARTELEMENT: p
CHARACTERS: [
ENDELEMENT: p
<p>[</p>
ENDELEMENT: HTML

(Location of error unknown)XSLT Error (javax.xml.transform.TransformerException)
: TRaX Transform Throwable


What did I do wrong?

Brenda



Reply via email to