lookupAttribute overloads

Synopses

Declared in <balxml_reader.h>

Find the attribute at the specified index in the current node.

virtual
int
lookupAttribute(
    ElementAttribute* attribute,
    int index) const = 0;

Find the attribute with the specified qname in the current node.

virtual
int
lookupAttribute(
    ElementAttribute* attribute,
    char const* qname) const = 0;

Find the attribute with the specified localName and namespaceId.

virtual
int
lookupAttribute(
    ElementAttribute* attribute,
    char const* localName,
    int namespaceId) const = 0;

Find the attribute with the specified localName and namespaceUri.

virtual
int
lookupAttribute(
    ElementAttribute* attribute,
    char const* localName,
    char const* namespaceUri) const = 0;

Return Value

0 on success, 1 if not found, and a negative value otherwise

Parameters

Name

Description

attribute

structure to receive the attribute

index

zero‐based attribute index in the current node

qname

qualified name of the attribute to find

localName

local name of the attribute to find

namespaceId

namespace ID, or ‐1 for the default

namespaceUri

namespace URI, or 0 for the default

Created with MrDocs