You are here

function xmlrpc_message_cdata in xmlrpc 8

Handles character data for XML parsing in xmlrpc_message_parse().

Parameters

resource $parser: A resource handle for the XML parser. Required by the signature of xml_set_character_data_handler() but not used.

string $cdata: The CDATA to parse.

See also

xmlrpc_message_parse()

1 string reference to 'xmlrpc_message_cdata'
xmlrpc_message_parse in ./xmlrpc.inc
Parses an XML-RPC message.

File

./xmlrpc.inc, line 283
Drupal XML-RPC library.

Code

function xmlrpc_message_cdata($parser, $cdata) {
  $xmlrpc_message = xmlrpc_message_get();
  $xmlrpc_message->current_tag_contents .= $cdata;
  xmlrpc_message_set($xmlrpc_message);
}