Hi All fallowing is my parsing function code $parser=xml_parser_create(); xml_set_element_handler($parser, "startElement", "endElement"); xml_set_character_data_handler($parser, "characterData"); xml_parse($parser, $this->xml, true) or die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($parser)), i am unable to get the document last line xml_parse not parsing the documnet getting die message please advice some thing Thanks and regards srinivas pmm