[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: Tue, 12 Oct 2004 10:53:37 +0200
xalan2 download
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

Majirus

From: "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  dynamic evaluation of xpath expression
Date: Mon, 11 Oct 2004 21:53:30 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I haven't really used cocoon so i only do some wild guessing.
Do you know that cocoon instantiates xalan? I think there is a setting
in cocoon.xconf called transformer-factory which lets you set a vendor
specific implementation of TransformerFactory, in your case
org.apache.xalan.processor.TransformerFactoryImpl.

I hope i could provide some useful pointers,
Wolfgang

Janvier Majirus FANSI wrote:
| its done transparently by cocoon.
|
| Majirus
|
|> From: "Werner, Wolfgang" <mail@xxxxxxxxxxxxxxxxxxx>
|> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|> Subject: Re:  dynamic evaluation of xpath expression
|> Date: Mon, 11 Oct 2004 17:36:56 +0200
|>
| How do you instantiate xalan in Java? Or is this done transparentely by
| cocoon?
|
| w.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBauS5qjaicDyx8o8RAmGrAJ9WA71RE2Cz18z53DP6YB6QSQ5/6wCcCH4i
+ADRNF3d+dvaa1LBlQEpS5k=
=zNWA
-----END PGP SIGNATURE-----


_________________________________________________________________
Dialoguez en direct et gratuitement avec vos amis sur http://g.msn.fr/FR1001/866 MSN Messenger !


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.