This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
appending output to file using saxon
- From: Jakob <jakob at free dot fr>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 29 Apr 2002 21:20:05 +0200 (MEST)
- Subject: [xsl] appending output to file using saxon
- Reply-to: xsl-list at lists dot mulberrytech dot com
I want to cut a document into many smaller file fragments using XSL. For this
I use Saxon and <saxon:output>.
At the same time/during the same pass I want to create another file which
contains in XML form the ancestors for each block element (Sort of an
associative map that allows to navigate a dhtml Table of Contents later on).
While the first task is not a problem as I open and close a new document for
each fragment, the second task seems to be trickier. I actually want to keep
this file open and append content to it.
I guess (haven't actually tested it, but it seems natural), that <saxon:output>
creates a new file, or opens an existing file, but erases any content.
Is there a way to append content to an existing file using Saxon? Or any other
way?
Thank you,
---------
Jakob Fix.
PS: please CC me, I am on digest.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list