Subject: Re: [xsl] support extension in xalan2.6.0 From: "Janvier Majirus FANSI" <jmfansi@xxxxxxxxxxx> Date: Wed, 13 Oct 2004 14:20:36 +0200 |
From: "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] support extension in xalan2.6.0 Date: Wed, 13 Oct 2004 11:44:57 +0200
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I thought I replied yesterday, but somehow it didn't arrive on the list. ~ Marius, did I reply to you exclusively? Anyway here it is again: I tried your test stylesheet and it worked with xalan 2.6.0. Here is exactely what I did: - - put all jars from the xalan-j-2_6_0 distribution in one direectory - - unset CLASSPATH - - run 'java -jar xalan.jar -in text.xml -xsl checkForDynEvaluate.xsl', with test.xml being an arbitrary XML file.
checkForDynEvaluate.xsl looks like this: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ~ xmlns:dyn="http://exslt.org/dynamic"> <xsl:template match="/"> ~ <xsl:if test="function-available('dyn:evaluate')"> ~ <p> exslt extension is available</p> ~ </xsl:if> </xsl:template> </xsl:stylesheet>
The output says> <?xml version="1.0" encoding="UTF-8"?> <p xmlns:dyn="http://exslt.org/dynamic"> exslt extension is available</p>
Does this test work at your machine?
Regareds, Wolfgang
Janvier Majirus FANSI wrote:
| Hi all,
|
| I installed xalan 2.6.0 now independently to cocoon.
| i setted xercesImpl.jar, xml-apis.jar, and xalan.jar within my classpath.
| Within a simple stylesheet, i added these instructions:
| xmlns:dyn="http://exslt.org/dynamic"
| <xsl:template match="/">
| <xsl:if test="function-available('dyn:evaluate')">
| <p> exslt extension is available</p>
| </xsl:if>
| </xsl:template>
|
| when i called this stylesheet in command line: java
| org.apache.xalan.xslt.Process -in doc.xml -xsl doc.xsl;
| xalan returned: XSLT Error
| (javax.xml.transform.TransformerException):Unknow error in xpath.
|
| Should anyone know what appened? what is wrong? This version claims to
| support EXSLT extension, do i make other configuration tasks? Any
| remarks from you are welcome.
|
| I thank you in advance
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBbPkYqjaicDyx8o8RAgHsAJsG5T9x8AkLF2HN81tjyQmf8COLvwCfXm3q 3xHQRITX3QJvamtx2aZgJB4= =LkKq -----END PGP SIGNATURE-----
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] support extension in xala, Werner, Wolfgang | Thread | Re: [xsl] support extension in xala, Werner, Wolfgang |
Re: [xsl] Multi-level grouping acro, David Carlisle | Date | [xsl] XEP 4.0 is released, Alexander Peshkov |
Month |