From: Frédéric Laurent (f.laurent@alplog.fr)
Date: 03/04/2001 - 11:26
Xalan utilise l'URI http://www.w3.org/1999/XSL/Transform donc
il suffit de modifier le namespace
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
et ça marche trés bien...
http://xml.apache.org/xalan/overview.html
Dans la partie
Glossary
XSLT Namespace
The XML namespace for XSLT. An XML namespace is a collection of element and
attribute names, identified by a Unique Resource Identifier (URI), which
often takes the form of a URL, but is really just a unique string, not a
pointer to a web page. The XSLT namespace URI is
http://www.w3.org/1999/XSL/Transform. In each XSLT stylesheet, you must
declare this namespace in the stylesheet element tag and bind it to a local
prefix. Like the XSLT specification, we always use xsl as the XSLT namespace
prefix in our descriptions and examples, although you are free to bind any
prefix to this namespace.
>
> J'utilise dans mon xsl :
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl" >
>
> Et Xalan affiche l'erreur suivante:
> stylesheet requires attribute: version; Missing or incorrect XSLT
> Namespace.
>
>
> Que dois-je faire?
--
Frédéric Laurent
http://flrt.free.fr
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:05 UTC
webmaster@xmlfr.org
|