.. highlightlang:: us .. _xml_setdefaulthandler: XML_SetDefaultHandler ===================== .. index:: XML_SetDefaultHandler .. us.tag XML_SetDefaultHandler NOTREADYENGLISH New330 XML :ref:`XML_SetDefaultHandler` sets a handler for any characters in the document which would not otherwise be handled. .. function:: bool = XML_SetDefaultHandler(hParser, handler) .. us.return **Return Value** *bool* is always 1. .. us.params **Parameters** .. uparam:: hParser *hParser* is the handle of a parser. .. uparam:: handler *handler* is the name of a UniScript function with the following parameter list: :: def defaultHandler(hParser, data) { } .. seealso:: :ref:`overview-xml` :sub:`id-416278`