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

Synopsis

Declared in <balxml_prefixstack.h>

char const*
namespaceUriByIndex(int index) const;

Description

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

Return Value

namespace URI at index

Parameters

Name

Description

index

stack index (negative indexes from the top)

Created with MrDocs