Hi, 

I have been using Nant to make a small example project using code generation
with XSLT. My example worked fine when using tha msxsl.exe from microsoft to
do the actual conversion, but when I use the Nant style task, all '>' get
converted to '>'. This of course makes sense when writing XML documents,
but this is a text document. 

I have looked through the Nant source code, and my guess is that it is the
use of a XmlTextWriter in the style task, that gives the problem. This is
confimed by the following:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconinputsoutputstoxsltransform.asp

I have changed the implementation of the Style task to use a TextWriter. I'm
hoping someone will look through my changes and check them in. Thank you in
advance.

 <<StyleTask.cs>> 

Enjoy,

        Michael Arnoldus

Attachment: StyleTask.cs
Description: Binary data

Reply via email to