Mvp.Xml Library: Common module
The Common module includes a set of commonly useful classes in the Mvp.Xml.Common, Mvp.Xml.Common.Serialization, Mvp.Xml.Common.XPath and Mvp.Xml.Common.Xsl namespaces, which extend the .NET functionality available through the System.Xml and related namespaces.
The full Common module API documentation can found at http://www.xmllab.net/mvpxml
The following is a list of key features in no particular order, a short explanation and a link to its corresponding full explanation:
- New CharacterMappingXmlWriter - an XmlWriter implementation able to substitute characters appearing in text or attribute nodes. For character mapping semantics see XSLT 2.0.
- MvpXslTransform - extends capabilities of the XslCompiledTransform class by adding support for transforming into XmlReader, built-in vast collection of EXSLT extention functions, multiple outputs, XHTML output mode, XSLT 2.0 character maps and transforming of IXPathNavigable along with XmlResolver. Also MvpXslTransform class provides new improved XSL transformation API by introducing concepts of IXmlTransform interface, XmlInput and XmlOutput. See HOW TO: Pipeline XSLT Transformations in .NET 2.0 Applications
- XslReader - provides an efficient way to read results of an XSLT transformation via an XmlReader API. Due to architectural and performance reasons the XslCompiledTransform class doesn't support transforming to an XmlReader as obsolete XslTransform class did and XslReader's goal is to supplement such functionality. See HOW TO: Pipeline XSLT Transformations in .NET 2.0 Applications
- XmlSerializerCache - allows to work around the (assembly leak problem in the XmlSerializer). The cache will inspect if it contains any previously cached instances that are compatible with the parameters passed to the various overloads to the GetSerializer method before constructing a new XmlSerializer instance. It canonicalizes the parameter list to minimize the number of serializer objects in the cache