XML Helper Methods

 

The following are methods of the XML Helper objects/interfaces.

declarePrefix Method Binds the namespace prefix with the namespace URI in the local context.
getDeclaredPrefixes Method Returns a collection of declared namespace prefixes bound to a namespace name.
getPrefixes Method Returns a collection of namespace prefixes bound to the specified URI.
getURI Method Returns the namespace URI for the specified prefix.
getURIFromNode Method Returns the namespace URI for the provided prefix and DOM node.
popContext Method Pops the last local context from the top of the stack.
pushContext Method Pushes the local context down the stack.
pushNodeContext Method Pushes local context down the stack, and creates a new local context that is defined by the DOM node.
reset Method Clears the stack of contexts, emptying the current context.

The following XML Helper methods are for C++ only.

getDeclaredPrefix Method (C++) Returns the indexed prefix in the current context.
getPrefix Method (C++) Finds the indexed prefix associated with the provided URI.
getURI Method (C++) Returns the namespace URI for the provided prefix in a current context or DOM node context.