[xsl] outputting mutiple html files

Subject: [xsl] outputting mutiple html files
From: David Elsmore <delsmore@xxxxxxxxxxxxx>
Date: Mon, 26 Apr 2004 09:42:38 +0100
I want to transform an xml file, outputting separate sections into multiple html documents. If the xml was srtructured as follows I would have no problem, I could simply use <xsl:for-each select="section">

<section>
<title>section one</title>
<para/>
<para/>
</section>

However, the structure of the xml file (over which I have no control) is more like:

<section>section one</section>
<para/>
</para>
<section>section two</section>
<para/>...

The section tags, rather than wrap separate areas of content merely indicate where a new section begins

Is there an easy way to do this?


Thanks for your help


David

Current Thread