Subject: AW: how to use Xalan redirect:write
From: "Kloeck, Erwin" <Erwin.Kloeck@xxxxxx>
Date: Wed, 17 Sep 2003 10:20:39 +0200
|
Thanks Victor for replying.
What I do now is the followin:
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
extension-element-prefixes="redirect">
...
<redirect:open file="csv.txt" />
<redirect:write file="csv.txt" append="true">
<xsl:value-of select="'some text'"/>
</redirect:write>
<redirect:close file="csv.txt" />
I still only get the last entry of my for-each loop.
Erwin
-----Ursprüngliche Nachricht-----
Von: Linnemann, Victor [mailto:Linnemann@xxxxxxxxxxxxx]
Gesendet: Mittwoch, 17. September 2003 10:01
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: AW: how to use Xalan redirect:write
Hi Erwin,
You can reopen a document by using <xalan:open ...>, write something to it
with <xalan:write> and then close it again with <xalan:close ...>.
With kind regards,
Victor Linnemann
--------------------------
Consulting / CMS
euroscript Switzerland AG
Hafenstrasse 50 d
CH-8280 Kreuzlingen
E-Mail: Linnemann@xxxxxxxxxxxxx
Internet: www.euroscript.ch
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|