Return the namespace ID at the specified index.

Synopsis

Declared in <balxml_prefixstack.h>

int
namespaceIdByIndex(int index) const;

Description

Return the namespace ID at the specified index in the prefix stack.

Return the namespace ID at the specified index in the prefix stack, where an index of 0 is the oldest ID on the stack. If index is negative, return the ID at position 'numPrefixes() ‐ index'. Thus, an index of ‐1 will return the most recent ID on the stack (i.e., the top of the stack). The behavior is undefined if index > numPrefixes() or index < ‐numPrefixes().

Return Value

namespace ID at index

Parameters

Name

Description

index

stack index (negative indexes from the top)

Created with MrDocs