tags:

views:

196

answers:

0

My problem : I want to output several HTML files from a single XML file processed by XSLT. It seems easily possible with XSLT 2.0, but I am using NAnt with nxslt 2.3 for my builds, and thus the .NET Framework 2.0 XSLT 1.0 implementation.

So I have to use EXSLT extension exsl:document for the multiple output.

But using simply the nxslt statement in my NAnt build file does not produce the desired result (I get one big XML file with contains all the exsl:document statements that should have led to independent HTML files).

I know that there are command line options for nxslt, including -mo Allow multiple output documents. But I cannot figure out how to use these options from my NAnt build file. Documentation for nxslt (should be on xmllab.net) is not available (see the links on this page).