XMLElement - XML element
An XML element describes the attribute area, the type and the value for an XML element. Strings are referenced in the original text and should not be replaced.
Usually, XMLElements consist of either a number of sub-ordinated elements (as address in the example below or (text) data (as city and street in the example).
Considering, however, html, which has very much in common with xml, additional data (text) may appear infront of the first, between or after the last sub element. This is supported by the XMLElement by introducing additional __text_data elements for each untagged text string. When creating an XMLString for outpput, __text_data elements are created as untagged data, i.e. the __text_data element exists internally, but not in the output.
<address>
<street>Old Street</street>
<city>New City</city>
</address>
<!-- example with untagged data -->
<address>
Permanent residence:
<street>Old Street</street>
<city>New City</city>
</address>
- AddAttribute - Create new attribute
- AddElement - Add sub-element
- Close - Close element
- DataBetweenElements - Get data between elements
- DeleteAttribute -
- DeleteElement -
- FillAttributes - Fill attributes
- FillElements - Fill elements
- GetAttribute - Get attribute from element
- GetAttributeCount - - internal feature (not documented)
- GetAttributeIndex - - internal feature (not documented)
- GetAttributeValue - Get attribute vale
- GetAttributeValueString -
- GetAttributes - Returns the attributes list from the XML string
- GetCurrentElement - Get currently selected element
- GetElement - Get sub-element from element
- GetElementCount - Get number of sub-elements
- GetElementIndex - - internal feature (not documented)
- GetElementRecursive - Search for element
- GetNextElement - Returns next sub-element after the currently selected sub-element
- GetString - Returns the string presentation for the element
- GetStringLength - Length for element data
- GetTextData - Get text data
- GetTypeNumber - Get tag number
- HasData - Has element data
- HasValue - Has element a value
- IsAttributeValueTrue - Check Boolean value
- IsComment - Is element a comment element
- IsElement - Check element type
- IsValid - Is element valid?
- IsVersion - Is element a version element
- NextElement - Get next element from XML string
- OOXmlToASCII - - internal feature (not documented)
- OOXmlToUTF8 -
- ProvideAttribute - Provide attribute
- ProvideElement - Provide sub-element
- QTGetListData - Get data items for an HTML list
- QTHtmlToASCII - Get ASCII data from QT HTML text
- Reset - Reset XML element description
- ResetCurrent - Reset current element selection
- ToTop - Position sub-element list to top
- XMLElement - Constructor
- ~XMLElement - Destructor

