🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #10649

XSLT, Xalan, Redirect

#10649
From: Pierre Attar
Date: Fri, 18 Aug 2000 00:00
46 lines
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
Technical Details
Message-ID: <399ce7b2.52614115@news.dial.oleane.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,4a0ed0450b91b3cf,start
X-Google-Attributes: gid114f60,public
From: pattar@tireme.fr (Pierre Attar)
Subject: XSLT, Xalan, Redirect
Date: 2000/08/18
Message-ID: <399ce7b2.52614115@news.dial.oleane.com>
X-Deja-AN: 659642721
X-Complaints-To: abuse@oleane.net
X-Trace: s1.read.news.oleane.net 966584337 5128 194.206.157.37 (18 Aug 2000 07:38:57 GMT)
Organization: Tireme SARL
NNTP-Posting-Date: Fri, 18 Aug 2000 07:38:57 +0000 (UTC)
Newsgroups: fr.comp.text.xml