XmlFormattingInfo Class |
Namespace: Ookii.FormatC
The XmlFormattingInfo type exposes the following members.
Name | Description | |
---|---|---|
XmlFormattingInfo |
Initializes a new instance of the XmlFormattingInfo class.
|
Name | Description | |
---|---|---|
CaseSensitive |
Gets a value that indicates whether the language to be formatted is case sensitive.
| |
Patterns |
Gets a list of regular expression patterns used to identify elements of the code.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Because the XML formatter is regular expression based, it has some limitations.
The most important is that use of the > character as text (not part of an XML tag) is not handled correctly. If the > character occurs within an attribute value, any further attributes of that element will not be colored correctly. If the > character occurs in the text content of the document, it will be colored as an element delimiter.
To avoid these issues, we recommend that you encode the > character as > in XML documents that you wish to process with FormatC.