Hi,
I don't understand Xalan extensions.
I want to append some text to an existing file and I do the following:
<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">
...
<xsl:for-each ...>
<redirect:write file="csv.txt" append="true">
<xsl:value-of select="'some text'"/>
</redirect:write>
...
This does not append the text to csv.txt but creates a new file every time,
so that only the last entry is in the file.
What am I doing wrong?
Then, I use the namespace declaration shown above. The docs say, I should use
xmlns:redirect="http://xml.apache.org/xalan/redirect"
but when I do this, I get an error.
What am I missing?
Thanks,
..............................
Erwin Kloeck
Produktentwicklung
Oestreicher + Wagner
Medientechnik GmbH
Frankenthaler Strasse 20
D-81539 Muenchen
Fon +49 (0)89-68961 216
Fax +49 (0)89-68961 271
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list