XmlDocToHtmlTransformer Class
- Namespace
- Kampute.DocToolkit.XmlDoc
- Assembly
- Kampute.DocToolkit.dll
Definition
Converts the text content of XML documentation comments into HTML format using XSLT transformations.
public class XmlDocToHtmlTransformer : XmlDocTransformer- Inheritance
- object
- XmlDocTransformer
- XmlDocToHtmlTransformer
Remarks
Constructors
| XmlDocToHtmlTransformer() | Initializes a new instance of the XmlDocToHtmlTransformer class with the default XSLT transform. |
| XmlDocToHtmlTransformer(XslCompiledTransform) | Initializes a new instance of the XmlDocToHtmlTransformer class with the specified XSLT transform. |

By default, the transformer uses an embedded XSLT resource specifically designed for HTML output. You can also provide a custom XSLT transformation if you need specialized HTML formatting.
The XmlDocToHtmlTransformer leverages the XsltTextTools extension methods to provide additional text processing capabilities during the transformation process, such as text escaping, formatting, and whitespace normalization.