[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: support extension in xalan2.6.0
Subject: Re: support extension in xalan2.6.0
From: "Janvier Majirus FANSI" <jmfansi@xxxxxxxxxxx>
Date: Wed, 13 Oct 2004 14:20:36 +0200
|
Hi dear Werner,
This test doesn't work at my machine.
But when i use dyn:evaluate function without make a test using
function-available, it worked.
It seems that there is a problem with the function "function-available".
Thanks
Majirus
From: "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: 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-----
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://search.msn.fr
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|