Something like that maybe?
<xsl:template match="/doc/foo">
<redirect:write select="'foo' & position() & '.html'">
<foo-out>
<xsl:apply-templates/>
</foo-out>
</redirect:write>
</xsl:template>
On 14.10.2004 17:18:25 Johannes Franz wrote:
> Hi,
>
> yeah this is exactly what i needed. But could you please help me with the
> following problem?
> I would like to write to write every childnote to a new file. If there are 4
> Childnodes doc/foo
> he should write every childnote to one file: foo1.html foo2.html foo3.html
> foo4.html. Could someone give me example how to realize this?
>
> <xsl:template match="/doc/foo">
> <redirect:write select="@file">
> <foo-out>
> <xsl:apply-templates/>
> </foo-out>
> </redirect:write>
> </xsl:template>
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]