xml_SetCDATASectionHandler ( parserID; startCDATAHandler; endCDATAHandler )
-
--> parserID : longint
-
--> startCDATAHandler : string[31]
-
--> endCDATAHandler : string[31]
Set the handler method for character data (CDATA) sections in the xml document. These handlers don't receive any data. They simple tell the processing that a CDATA section is starting or ending.
For example, if you are creating a parser for transforming XML documents which only implements the CDATA and Default handlers, CDATA sections, e.g. <![CDATA[...]>, would be handed to the Default handler which is not always what you want. These two handlers get around this for you by at least letting you know when a CDATA section is starting or ending so that you can handle it yourself.
|
C_LONGINT($1;$parser)
$parser:=$1
|
|
|
|
|
C_LONGINT($1;$parser)
$parser:=$1
|
|
|
|
|