Wraps 'elem' Element in a IXmlElement
OptionalknownName: stringthe element's lower-cased node name, when the caller already matched on it - saves a DOM read and a toLowerCase() per wrapper
The first attribute of the element, undefined if it has none.
Whether the element has attributes.
Whether the element has child nodes (of any kind, e.g. also text).
The text of the element if it only contains one text node, otherwise "".
Get the attribute with the given name
Get all attributes
Get the first child element with the given node name
with all the children of consequent child elements with the same node name.
for example two
Get the first child element with the given node name
Get the children with the given node name (if given, otherwise all child elements)
OptionalnodeName: string
Just a wrapper for an XML Element object. It facilitates handling of XML elements by OSMD