Home/.NET/MultiXmlTextWriterEnglish/Russian

MultiXmlTextWriter class

What is MultiXmlTextWriter?

MultiXmlTextWriter class is customized System.Xml.XmlWriter, which supports exsl:document EXSLT extension element and splits XML stream accordingly. This allows to generate multiple output documents in a single XSL Transformation run when using along with System.Xml.Xsl.XslTransform class.

MultiXmlTextWriter idea and implementation has been covered in great details in "Producing Multiple Outputs from an XSL Transformation" article at MSDN Online.

MultiXmlTextWriter is now part of EXSLT.NET library, but can also be used as standalone utility XmlWriter to split any stream of XML.

Requirements

.NET Framework 1.0 or 1.1.

Download and License

MultiXmlTextWriter class is subject to the BSD license and is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. You can use it for any commercial or noncommercial purpose, including distributing derivative works.

MultiXmlTextWriter is freely available for download in precompiled .NET assembly form and in source code (complete Microsoft Visual Studio .NET C# project).

Feedback

This class was created just to be convenient tool for everybody interested in getting multiple outputs from XSLT under .NET Framework. So enjoy. Any comments, suggestions, help and contributions are greatly appreciated! Feel free to mail me.