This is a sub-object of the XPXMLDOC object. It is used to hold information about a single tag element and it's children and attributes. |
PROPERTY Name$ The tag name |
PROPERTY Text$ Optional text value associated with this tag |
PROPERTY DecodedText$ A decoded version of the 'Text$' property |
PROPERTY Attributes A reference to a [ProvideX Library Class:*obj/group] for the atrtibutes of this tag |
PROPERTY AttributeCount The number of attributes for this tag |
PROPERTY Elements A reference to a [ProvideX Library Class:*obj/group] for the child elements of this tag |
PROPERTY ElementCount The number of child elements |
PROPERTY CurrentElement
|
PROPERTY CurrentElementName$
|
PROPERTY LineSep$ The line separator character to be used when building the 'XMLString$' property. (Default is $0D0A$ - Carriage return / line feed) |
PROPERTY XMLString$ Use this property to pull the XML coding of this element and its children as a single string. |
FUNCTION CreateAttribute(_Name$) Create an attribute | ||||||
| ||||||
| ||||||
FUNCTION CreateAttribute(_Name$, _Text$) Create an attribute | ||||||
| ||||||
| ||||||
FUNCTION CreateElement(_Name$) Create a child element | ||||||
| ||||||
| ||||||
FUNCTION CreateElement(_Name$, _Text$) Create a child element | ||||||
| ||||||
| ||||||
FUNCTION FindAttribute(_Name$) Search for the first occurance of a specific attribute by name | ||||||
| ||||||
| ||||||
FUNCTION FindAttributeText$(_Name$) Search for the first occurance of a specific attribute by name | ||||||
| ||||||
| ||||||
FUNCTION FindElement(_Name$) Search for the first occurance of a specific element by name | ||||||
| ||||||
| ||||||
FUNCTION FindElementText$(_Name$) Search for the first occurance of a specific element by name | ||||||
| ||||||
| ||||||
FUNCTION FindNextElement()
| ||||||
FUNCTION FindNextElement(_Name$)
| ||||||
FUNCTION FindNextElementName$()
| ||||||
FUNCTION FindNextElementText$()
| ||||||
FUNCTION FindNextElementText$(_Name$)
| ||||||
FUNCTION Parse$(_XMLText$) Breaks the XMLText$ down into its elements and attributes. | ||||||
| ||||||
FUNCTION SetName(_Name$) Set the name of this tag | ||||||
| ||||||
FUNCTION SetText(_Text$) Set the taxt value for this tag | ||||||
|
![]() |