You probably haven't set up your classpath properly. See Xalan docs and use
the -classpath option to the java command.

John

On Fri, 06 Apr 2001, ben wrote:
> Hello,
> 
> I'm new to the list, and I try to make Xalan and XT work on my machine!
> I hope that someone can help me.
> 
> Here are my problems:
> 
> * When I want an HTML document splitted in several files, I do:
> 
>   java org.apache.xalan.xslt.Process -in myfile.xml -xsl
> /path/to/docbook/html/chunk.xsl
> 
>   I have the following error:
>   DOM ERROR! class: org.apache.xalan.templates.ElemExtensionCall
>   file:///path/to/docbook/html/chunk.xsl; Line 17; Column 58;
>   XSLT Error (javax.xml.transform.TransformerConfigurationException):
> Failed calling setPrefix method!
> 
>   I think it's because a .jar is missing but which one? Which archives
> are needed to use chunk?
> 
> * When I try to have an HTML output with XT, it fails; I do:
> 
>   java com.jclark.xsl.sax.Driver myfile.xml
> /path/to/docbook/html/docbook.xsl > myfile.html
> 
>   I have the error:
>   file:/path/to/docbook/html/index.xsl:273: no such function: key
> 
>   What am I doing wrong?
> 
> Thanks in advance for any advice.
> 
> The versions I have:
> * XML DocBook DTD: 4.1.2
> * XSL DocBook stylesheets: 1.29
> * XT: 19991102
> * XP: 0.5
> * Java Xalan: 2.0.0
> 
> BG
> 
> 
> ------------------------------------------------------------------
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: [EMAIL PROTECTED]
--
John Storrs, Laboratory for Micro Enterprise
8 The Green, Culham, Abingdon OX14 4LZ, UK
tel/fax (44) 01235 520395  email [EMAIL PROTECTED]
www http://www.i-way.co.uk/~storrs

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]

Reply via email to