xml_SetNSDeclHandler ( parserID; startHandler; endHandler )
-
--> parserID : longint
-
--> startHandler : string[31]
-
--> endHandler : string[31]
Sets the handler methods for namespace declarations. The parserID, namespace prefix and URI are passed to the start handler method and only the parserID and prefix to the end handler. The start handler for the namespace declaration is called before the handler for the element in which the namespace is declared and the end handler after the element end handler where the namespace loses scope.
Note: This option only works when namespace processing has been enabled by creating the parser using xml_ParserCreateNS.
|
C_LONGINT($1;$parser)
C_TEXT($2;$prefix)
C_TEXT($3;$uri)
$parser:=$1
$prefix:=$2
$uri:=$3
`...
|
|
|
|
|
C_LONGINT($1;$parser)
C_TEXT($2;$prefix)
$parser:=$1
$prefix:=$2
`...
|
|
|
|
|