Sorry, I see that that is in xalansamples.jar.  Be sure that is in your
CLASSPATH.

> -----Original Message-----
> From: Gary L Peskin [mailto:[EMAIL PROTECTED] 
> Sent: Friday, January 31, 2003 8:13 AM
> To: 'Brenda Bell'; 'xalan-j-users'
> Subject: RE: Need help getting XSL example to work
> 
> 
> Be sure that MyCounter.java is in your CLASSPATH.
> 
> > -----Original Message-----
> > From: Brenda Bell [mailto:[EMAIL PROTECTED]
> > Sent: Friday, January 31, 2003 8:02 AM
> > To: xalan-j-users
> > Subject: Re: Need help getting XSL example to work
> > 
> > 
> > Brenda Bell wrote:
> > > I'm trying to run the XSL JavaScript counter example at the
> > bottom of
> > > http://xml.apache.org/xalan-j/extensions.html.
> > > 
> > 
> > More information.  I did a fresh download and redid my class path to
> > include xalan.jar, xercesImpl.jar, xml-apis.jar, xsltc.jar, 
> > bsf.jar and 
> > js.jar -- all in that order.
> > 
> > I'm not getting the following output:
> > 
> file:///d:/temp/test2.xslt Line #27, Column #26: 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 #42; 
> javax.xml.transform.Transforme
> rException: java.lang.ClassNotFoundException: MyCounter 
> <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)
> : java.lang.NoSuchMethodException: For extension function, could not 
> find method
>   java.lang.String.read([ExpressionContext,] ).
> 
> Same question:  what am I doing wrong?
> 
> 

Reply via email to