You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by fi...@free.fr on 2002/06/19 13:41:35 UTC

one file xml + one xsl => multiple output file

Hi,

I have to generate multiple file from one xml file and one xsl file.

the xsl:document is the solution sure. But the problem is with this kind of xml :
 
<doc> 
<I></I> 
<PARAGRAPHE> </PARAGRAPHE>
<II></II> 
<PARAGRAPHE> </PARAGRAPHE> 
<I></I> 
<PARAGRAPHE> </PARAGRAPHE>
<II></II> 
<PARAGRAPHE> </PARAGRAPHE>
<III></III> 
<PARAGRAPHE> </PARAGRAPHE>
</doc> 

The xsl must transform the element between <I></I> and the next <I></I>
For example : for the xml above, i have to generte two files.

I can't change the xml structure :(

Help !!! :)

Thanks