{"id":2767,"date":"2012-04-26T07:11:52","date_gmt":"2012-04-26T07:11:52","guid":{"rendered":"http:\/\/phpcodez.com\/?p=2767"},"modified":"2012-04-26T07:11:52","modified_gmt":"2012-04-26T07:11:52","slug":"xml-parser-functions","status":"publish","type":"post","link":"http:\/\/phpcodez.com\/xml-parser-functions\/","title":{"rendered":"XML Parser functions"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/phpcodez.com\/utf8_decode\">utf8_decode<\/a> &#8211;\u00a0It converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/utf8_encode\">utf8_encode<\/a> &#8211;\u00a0It encodes an ISO-8859-1 string to UTF-8<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_error_string\">xml_error_string<\/a> &#8211;\u00a0It returns an error string from the XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_get_current_byte_index\">xml_get_current_byte_index<\/a> &#8211;\u00a0It returns current byte index for an XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_get_current_column_number\">xml_get_current_column_number<\/a> &#8211;\u00a0It returns current column number for an XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_get_current_line_number\">xml_get_current_line_number<\/a> &#8211;\u00a0It returns current \u00a0line number for an XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_get_error_code\">xml_get_error_code<\/a> &#8211;\u00a0It returns XML parser error code<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_parse_into_struct\">xml_parse_into_struct<\/a> &#8211;\u00a0It parses XML data into an array structure<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_parse\">xml_parse<\/a> &#8211;\u00a0It parses an XML document<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_parser_create_ns\">xml_parser_create_ns<\/a> &#8211;\u00a0It create an XML parser with namespace support<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_parser_create\">xml_parser_create<\/a> &#8211;\u00a0It create an XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_parser_free\">xml_parser_free<\/a> &#8211;\u00a0Free an XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_parser_get_option\">xml_parser_get_option<\/a> &#8211;\u00a0It returns options from an XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_parser_set_option\">xml_parser_set_option<\/a> &#8211;\u00a0It sets options in an XML parser<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_character_data_handler\">xml_set_character_data_handler<\/a> &#8211;\u00a0It set up character data handler<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_default_handler\">xml_set_default_handler<\/a> &#8211;\u00a0It set up default handler<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_element_handler\">xml_set_element_handler<\/a> &#8211;\u00a0It set up start and end element handlers<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_end_namespace_decl_handler\">xml_set_end_namespace_decl_handler<\/a> &#8211;\u00a0It set up end namespace declaration handler<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_external_entity_ref_handler\">xml_set_external_entity_ref_handler<\/a> &#8211;\u00a0It set up \u00a0external entity reference handler<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_notation_decl_handler\">xml_set_notation_decl_handler<\/a> &#8211;\u00a0It set up \u00a0notation declaration handler<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_object\">xml_set_object<\/a> &#8211;\u00a0It uses XML Parser within an object<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_processing_instruction_handler\">xml_set_processing_instruction_handler<\/a> &#8211;\u00a0It \u00a0set up processing instruction (PI) handler<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_start_namespace_decl_handler\">xml_set_start_namespace_decl_handler<\/a> &#8211;\u00a0It \u00a0set up start namespace declaration handler<\/li>\n<li><a href=\"http:\/\/phpcodez.com\/xml_set_unparsed_entity_decl_handler\">xml_set_unparsed_entity_decl_handler<\/a> &#8211;\u00a0It \u00a0set up unparsed entity declaration handler<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>utf8_decode &#8211;\u00a0It converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1 utf8_encode &#8211;\u00a0It encodes an ISO-8859-1 string to UTF-8 xml_error_string &#8211;\u00a0It returns an error string from the XML parser xml_get_current_byte_index &#8211;\u00a0It returns current byte index for an XML parser xml_get_current_column_number &#8211;\u00a0It returns current column number for an XML parser xml_get_current_line_number &#8211;\u00a0It returns &hellip; <a href=\"http:\/\/phpcodez.com\/xml-parser-functions\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">XML Parser functions<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[213,370,538,539],"class_list":["post-2767","post","type-post","status-publish","format-standard","hentry","category-php","tag-functions","tag-php","tag-xml","tag-xml-parser"],"_links":{"self":[{"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/posts\/2767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/comments?post=2767"}],"version-history":[{"count":0,"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/posts\/2767\/revisions"}],"wp:attachment":[{"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/media?parent=2767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/categories?post=2767"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/phpcodez.com\/wp-json\/wp\/v2\/tags?post=2767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}