Class
XMLAttributeList
Description
A helper class that is used in the XMLReader's StartElement event and the XMLXsltHandler's StartElement event. A basic structure for a collection of attributes. The attributes can be retrieved by index or name.
Properties
Name |
Type |
Read-Only |
Shared |
---|---|---|---|
Methods
Name |
Parameters |
Returns |
Shared |
---|---|---|---|
index As Integer |
|||
index As Integer |
Property descriptions
XMLAttributeList.Count
Count As Integer
The number of attributes in the list.
Method descriptions
XMLAttributeList.Key
Key(index As Integer) As String
Retrieves an attribute by index position. Key returns the attribute as a String. Index is zero-based.
XMLAttributeList.Value
Value(index As Integer) As String
Retrieves an attribute value looking it up by the Key. If Key is not an attribute in the list, then the empty string is returned.
Compatibility
Project Types |
Console, Desktop, Mobile, Web |
Operating Systems |
iOS, Linux, macOS, Windows |