XmlEditOptions

XmlEditOptions class

Allows to specify custom options for editing XML (eXtensible Markup Language) documents and converting them to the HTML

public sealed class XmlEditOptions : IEditOptions

Constructors

Name Description
XmlEditOptions() The default constructor.

Properties

Name Description
AttributeValuesQuoteType { get; set; } Allows to specify quote type (single or double quotes) for attribute values. Double quotes are default.
Encoding { get; set; } Character encoding of the text document, which will be applied for its opening. By default is null — internal document encoding will be applied.
FixIncorrectStructure { get; set; } Allows to enable or disable mechanism for fixing corrupted XML structure. By default is disabled (false).
FormatOptions { get; } Allows to adjust the XML formatting, that will be applied to the XML structure, when it is represented in HTML. Default formatting is used and is adjustable. Cannot be null.
HighlightOptions { get; } Allows to adjust the XML highlighting, that will be applied to the XML structure, when it is represented in HTML. Default highlighting is used and is adjustable. Cannot be null.
RecognizeEmails { get; set; } Allows to enable recognition algorithm for email addresses in attribute values
RecognizeUris { get; set; } Allows to enable URI recognition algorithm
TrimTrailingWhitespaces { get; set; } Allows to enable the truncation of trailing whitespaces in the inner-tag text. By default is disabled (false) — trailing whitespaces will be preserved.

See Also