Thread View: fr.comp.text.xml
2 messages
2 total messages
Started by Pierre Attar
Fri, 18 Aug 2000 00:00
XSLT, Xalan, Redirect
Author: Pierre Attar
Date: Fri, 18 Aug 2000 00:00
Date: Fri, 18 Aug 2000 00:00
46 lines
1723 bytes
1723 bytes
Bonjour,
Quelqu'un at-il d�j� r�ussi � utiliser les extensions de cr�ation de
fichier cible multiple sous Xalan ?
J'ai �crit ceci :
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:lxslt="http://xml.apache.org/xslt"
xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
extension-element-prefixes="redirect">
<xsl:template match="/">
<!-- redirect:open file="myfile.xml"/ -->
<redirect:write file="myfile.xml">
<foo-out>
<xsl:apply-templates/>
</foo-out>
</redirect:write>
<!-- redirect:close file="myfile.xml"/ -->
</xsl:template>
</xsl:stylesheet>
et je me fait jeter au parsing de ma feuille de styles :
java org.apache.xalan.xslt.Process -in test.dtd -xsl style.xsl -out
myout.htm
========= Parsing file:T:/tmp/style.xsl ==========
Error! com/ibm/bsf/BSFException
Xalan: was not successful.
XSLProcessor: done
-------------------------------
Pierre Attar (mailto:pattar@tireme.fr)
TIREME SARL (http://www.tireme.fr)
Projet "Mutualiser l'effort de mont�e en comp�tences sur XML"
http://fing.org/projet-xml/index.html
Re: XSLT, Xalan, Redirect
Author: Pierre Attar
Date: Fri, 18 Aug 2000 00:00
Date: Fri, 18 Aug 2000 00:00
17 lines
1055 bytes
1055 bytes
pattar@tireme.fr (Pierre Attar) wrote: >Bonjour, > >Quelqu'un at-il d�j� r�ussi � utiliser les extensions de cr�ation de >fichier cible multiple sous Xalan ? > Probl�me r�solu, il suffisait d'ajouter bsj.jar dans mon classpath. ------------------------------- Pierre Attar (mailto:pattar@tireme.fr) TIREME SARL (http://www.tireme.fr) Projet "Mutualiser l'effort de mont�e en comp�tences sur XML" http://fing.org/projet-xml/index.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads