|
NanoXLSX.Core 3.0.0-rc.3
|
Class representing an internally used XML element / node. More...
Public Member Functions | |
| XmlDocument | TransformToDocument () |
| Transforms this custom XmlElement (and its children) into a standard XmlDocument. | |
| IEnumerable< XmlElement > | FindChildElementsByName (string name) |
| Method to find XML child elements, based of its name. Name space and hierarchy is not considered as exclusion parameters. | |
| IEnumerable< XmlElement > | FindChildElementsByNameAndAttribute (string elementName, string attributeName) |
| Method to find XML child elements, based of its name, an attribute name. Name space and hierarchy is not considered as exclusion parameters. | |
| IEnumerable< XmlElement > | FindChildElementsByNameAndAttribute (string elementName, string attributeName, string attributeValue) |
| Method to find XML child elements, based of its name, an attribute name and value. Name space and hierarchy is not considered as exclusion parameters. | |
Properties | |
| string | Prefix [get, set] |
| Prefix of the element. If not defined, the prefix will be an empty string. | |
| string | Name [get] |
| Name of the element (without prefix). | |
| List< XmlElement > | Children [get] |
| List of child elements. If none, the list is null. | |
| HashSet< XmlAttribute > | Attributes [get] |
| List of attributes of this element. If none, the list is null. | |
| Dictionary< string, string > | PrefixNameSpaceMap [get] |
| Map of prefixes and corresponding name space URIs of this element. | |
| string | InnerValue [get, set] |
| Gets or set the inner value of the element. | |
Class representing an internally used XML element / node.
Definition at line 17 of file XmlElement.cs.
| IEnumerable< XmlElement > NanoXLSX.Utils.Xml.XmlElement.FindChildElementsByName | ( | string | name | ) |
Method to find XML child elements, based of its name. Name space and hierarchy is not considered as exclusion parameters.
| name | Name of the target element or elements |
Definition at line 297 of file XmlElement.cs.
| IEnumerable< XmlElement > NanoXLSX.Utils.Xml.XmlElement.FindChildElementsByNameAndAttribute | ( | string | elementName, |
| string | attributeName ) |
Method to find XML child elements, based of its name, an attribute name. Name space and hierarchy is not considered as exclusion parameters.
| elementName | Name of the target element or elements |
| attributeName | Name of the target attribute, present in the XML element |
Definition at line 321 of file XmlElement.cs.
| IEnumerable< XmlElement > NanoXLSX.Utils.Xml.XmlElement.FindChildElementsByNameAndAttribute | ( | string | elementName, |
| string | attributeName, | ||
| string | attributeValue ) |
Method to find XML child elements, based of its name, an attribute name and value. Name space and hierarchy is not considered as exclusion parameters.
| elementName | Name of the target element or elements |
| attributeName | Name of the target attribute, present in the XML element |
| attributeValue | Value of the XML attribute, present in the XML element |
Definition at line 333 of file XmlElement.cs.
| XmlDocument NanoXLSX.Utils.Xml.XmlElement.TransformToDocument | ( | ) |
Transforms this custom XmlElement (and its children) into a standard XmlDocument.
Definition at line 260 of file XmlElement.cs.
|
get |
List of attributes of this element. If none, the list is null.
Definition at line 43 of file XmlElement.cs.
|
get |
List of child elements. If none, the list is null.
Definition at line 39 of file XmlElement.cs.
|
getset |
Gets or set the inner value of the element.
Definition at line 52 of file XmlElement.cs.
|
get |
Name of the element (without prefix).
Definition at line 35 of file XmlElement.cs.
|
getset |
Prefix of the element. If not defined, the prefix will be an empty string.
Definition at line 31 of file XmlElement.cs.
|
get |
Map of prefixes and corresponding name space URIs of this element.
Definition at line 47 of file XmlElement.cs.