Try OpenEdge Now
skip to main content
Working with XML
Reading XML Documents with the Simple API for XML (SAX) : SAX API reference : SAX callback reference : StartPrefixMapping
 
StartPrefixMapping
Invoked when the XML parser detects that a prefix associated with namespace mapping is coming into scope.
Note: This callback is invoked only when namespace processing is enabled.

Syntax

PROCEDURE StartPrefixMapping:
DEFINE INPUT PARAMETER prefix AS CHARACTER.
DEFINE INPUT PARAMETER uri AS CHARACTER.
prefix
A character string representing the prefix for a namespace declaration.
uri
A character string representing the URI that identifies the namespace being declared.
This callback does not normally need to be implemented, since the information it provides is not required for normal namespace processing. But, it might be useful (and even required) in some situations.