XMLReader.AttributeValue
Syntax variant: By number
Syntax:
Parameters:
<AttributeNumber> (required)
One-up attribute number, beginning with 0.
Syntax variant: By full name
Syntax:
Parameters:
<AttributeFullName> (required)
Full name of the attribute, including prefix.
Syntax variant: By a local name and namespace
Syntax:
Parameters:
<AttributeLocalName> (required)
Local attribute name, not including prefix.
<NamespaceURI> (required)
Namespace URI for a local attribute name.
Returned value:
If the is not found, the method returns the line showing the value of the attribute. If the attribute is not found in relation to the assigned parameters, the method returns the value Undefined.
Description:
Availability:
Example:
Reader.OpenFile(FileName); Try GroopId = Reader.AttributeValue("GroupID"); Except EndTry; |