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

Count

Integer

Methods

Name

Parameters

Returns

Shared

Key

index As Integer

String

Value

index As Integer

String

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

Desktop, console, web and iOS project types on all supported operating systems.

See also

Object parent class; XMLReader class.