The following tables list the members exposed by XmlLightElement.
Name | Description | |
---|---|---|
![]() | XmlLightElement Constructor | Creates a new xml element |
Name | Description | |
---|---|---|
![]() | Attributes | Returns the attributes of this html element |
![]() ![]() | CDATA | Provides tag name assigned to the CDATA nodes in the heirarchy |
![]() | Children | Returns the children of this html element |
![]() ![]() | COMMENT | Provides tag name assigned to comment nodes in the heirarchy |
![]() ![]() | CONTROL | Provides tag name assigned to the TEXT nodes in the heirarchy |
![]() ![]() | PROCESSING | Provides tag name assigned to processing instruction nodes in the heirarchy |
![]() ![]() | ROOT | Provides tag name assigned to the ROOT node of the heirarchy |
![]() ![]() | TEXT | Provides tag name assigned to the TEXT nodes in the heirarchy |
Name | Description | |
---|---|---|
![]() | ClosingTagWhitespace | Whitespace appearing before the close of the end tag (</div >) |
![]() | Document | Returns the root-level node |
![]() | InnerText | Returns the inner text of this html element |
![]() | InnerXml | Returns the re-constructed innerHTML in a well-formed Xml format |
![]() | IsComment | Returns true if the node is a comment |
![]() | IsEmpty | Returns true if the node is self-closing (i.e. ends with '/>') |
![]() | IsSpecialTag | Returns true if the node is not a normal element |
![]() | IsText | Returns true if the node has a textual value, i.e. text or cdata |
![]() | LocalName | Returns the name without the namespace prefix |
![]() | Namespace | Returns the namespace or empty string |
![]() | NamespaceOrNull | Returns the namespace or null |
![]() | NextSibling | Returns the next sibling element |
![]() | OpeningTagWhitespace | Whitespace appearing before the close of the start tag (<div >) |
![]() | OriginalTag | Returns the text in it's original format. Where IsSpecial == true, this is used to rewrite the content. |
![]() | Parent | Returns the parent (if any) of this html element |
![]() | PrevSibling | Returns the previous sibling element |
![]() | TagName | Returns the tag name of this html element |
![]() | Value | Returns the value (if any) of this html element |
Name | Description | |
---|---|---|
![]() | CreateNavigator | Returns a new System.Xml.XPath.XPathNavigator object. |
![]() | FindElement | Finds the elements matching the provided criteria |
![]() | GetElementById | Deep-scans heirarchy for the element with the provided id |
![]() | Remove | Removes this node from it's parent element |
![]() | Select | Returns the elements from the given xpath expression |
![]() | SelectSingleNode | Returns the first element from the given xpath expression |
![]() | WriteUnformatted | Writes the modified document in it's original formatting |
![]() | WriteXml | Overloaded. Writes XML to an xml writer to ensure proper formatting |
Name | Description | |
---|---|---|
![]() | WriteText | Writes the text to the xml writer while preserving entities and still ensuring the remainder of the text is properly encoded. |
Reference
XmlLightElement ClassCSharpTest.Net.Html Namespace