[xsl] cannot create files

Subject: [xsl] cannot create files
From: dominic@xxxxxxxxxxxxxxx
Date: Tue, 26 Oct 2004 16:15:11 +0200 (CEST)
hi,
I am trying to split an xml file that I use to generate an html file with
xslt.
the simple transformation to html works fine. i just can't get my system
to write xml files.

I am using cocoon 2.1.5.1 on Apache Tomcat/5.0.28 to transform the xml.

I have tried using <xsl:document /> from within my working pipeline
without success.

I have also read the docs on the source writing transformer but as I
understand the xml document has to have the
<source:fragment>
    <foo>
    <bar id="dogcow"/>
    </foo>
</source:fragment>

elements in it. but I have no influence on the xml document. I have to
work with the file structure I get.

the structure of the xml file is:
<article>
<paragraph>
<sigml>
<content1 atr="examle"/>
<content2 atr="examle"/>
</sigml>
</paragraph>
<paragraph>
<sigml>
<content1 atr="examle"/>
<content2 atr="examle"/>
</sigml>
</paragraph>
<paragraph>
<sigml>
<content1 atr="examle"/>
<content2 atr="examle"/>
</sigml>
</paragraph>
</article>

and before generating the html I want to create a seperate xml file for
paragraph an include the file names in the generated html...

I'm gratefull for any help on this issue!

Regards Dominic Krueger

Current Thread