HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP XML Parser Reference : Create an XML parser, set default data handler, and parse an XML document (note.xml)
The xml_set_default_handler() function sets the default data handler for the XML parser.
This function specifies what function to be called whenever the parser finds data in the XML file.
Parameter | Description |
---|---|
parser | Required. Specifies the XML parser to use |
handler | Required. Specifies a function to be used as an event handler. The function must have two parameters:
|
Return Value: | TRUE on success. FALSE on failure |
---|---|
PHP Version: | 4.0+ |
❮ PHP XML Parser Reference