> I am using XALAN processor and xslt 2.0 and I have managed to take an XML
> file and split it into multiple documents. This is done via the Oxygen
> editor.
Does Xalan support XSLT 2.0? I don't think so. Saxon 8 does support XSLT
2.0.
> I now need to write a C# program that will take the XML and XSLT file as
> inputs and transform the XML file.
If you really want to use XSLT 2.0 with .NET then you need to install
Saxon.NET from http://www.saxonica.com/.
If all you need is to create multiple output files then EXSLT.NET can
help: <http://www.xmlmvp.org/exslt/index.html#multiout>

Signature
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
sham - 14 Jul 2006 18:31 GMT
Hi Martin,
Sorry you were right, it is Saxon I used and not Xalan.
The example I have seen with C# use an xmlWriter. Since the files are
created by the processor, what classes do I use.
Thanks
Sham.
>> I am using XALAN processor and xslt 2.0 and I have managed to take an XML
>> file and split it into multiple documents. This is done via the Oxygen
[quoted text clipped - 11 lines]
> If all you need is to create multiple output files then EXSLT.NET can
> help: <http://www.xmlmvp.org/exslt/index.html#multiout>
Martin Honnen - 14 Jul 2006 19:06 GMT
> The example I have seen with C# use an xmlWriter. Since the files are
> created by the processor, what classes do I use.
I have made two suggestions, either to try Saxon.NET or to use EXSLT.NET.
If you install EXSLT.NET then you can use the MvpXslTransform class
documented here:
<http://mvp-xml.sourceforge.net/api/2.0/T_Mvp_Xml_Common_Xsl_MvpXslTransform_Memb
ers.html>

Signature
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/