xsl-list
[Top] [All Lists]

outputting mutiple html files

2004-04-26 01:42:38
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


<Prev in Thread] Current Thread [Next in Thread>