PHP XML Parser Functions

PHP Variable Handling Functions
Timezones supported by PHP

On this page, you will find all the functions related to XML parser. However, they cannot perform the XML validation.

FunctionDescription
utf8_decode()Decode an UTF-8 string to ISO-8859-1
utf8_encode()Encode an ISO-8859-1 string to UTF-8
xml_error_string()Returns an error string from the XML parser
xml_get_current_byte_index()Returns the current byte index from the XML parser
xml_get_current_column_number()Returns the current column number from the XML parser
xml_get_current_line_number()Returns the current line number from the XML parser
xml_get_error_code()Returns an error code from the XML parser
xml_parse()Parse an XML document
xml_parse_into_struct()Parse XML data into an array
xml_parser_create_ns()Create an XML parser with namespace support
xml_parser_create()Create an XML parser
xml_parser_free()Free an XML parser
xml_parser_get_option()Returns options from an XML parser
xml_parser_set_option()Set options in an XML parser
xml_set_character_data_handler()Set up the character data handler for the XML parser
xml_set_default_handler()Set up the default data handler for the XML parser
xml_set_element_handler()Set start and end element handlers for the XML parser
xml_set_end_namespace_decl_handler()Set up the end namespace declaration handler
xml_set_external_entity_ref_handler()Set up the external entity reference handler for the XML parser
xml_set_notation_decl_handler()Set notation declaration handler for the XML parser
xml_set_object()Allow to use XML parser within an object
xml_set_processing_instruction_handler()Set processing instruction handler
xml_set_start_namespace_decl_handler()Set up the start namespace declaration handler
xml_set_unparsed_entity_decl_handler()Set handler function for unparsed entity declarations
XML Parser functions in PHP
PHP Variable Handling Functions
Timezones supported by PHP
en English
X
Scroll to Top