This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trying to use Xalan again


Norman Walsh a écrit :

> / ben <nicolas.marsgui@libertysurf.fr> was heard to say:
> | * When a table is put in the XML file, Xalan fails. It seems that it
> | comes from the extension use. In the CLASSPATH I've put xalan.jar,
> | xerces.jar, and extensions/xalan2.jar. What am I doing wrong?
>
> Try setting use.extensions=0 or include
> /path/to/docbook/extensions/xalan2.jar in your classpath too.

Well, I've already put xalan2.jar in the CLASSPATH and it does not work. Of
course, removing the extension use (use.extensions=0 or in my case
tablecolumns.extension=0) makes it work, but it does not explain why
extensions fail...

> | * When I use a stylesheet with an absolute path, Xalan fails. I do:
> | java org.apache.xalan.xslt.Process -in myfile.xml -xsl
> | /path/to/docbook-1.34/html/docbook.xsl
> |
> | It fails with the error:
> | XSLT Error (javax.xml.transform.TransformerConfigurationException): File
> | "file:////(the current path)//path/to/docbook-1.34/VERSION" not found.
>
> Try ... -xsl file:///path/to/docbook-1.34/html/docbook.xsl

Ok, it works fine! Thanks!

BG



------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]