Lines Matching refs:parser
33 var $parser; variable in XML
48 $this->parser = xml_parser_create('ISO-8859-1');
49 xml_parser_set_option($this->parser, XML_OPTION_CASE_FOLDING, false);
50 xml_set_object($this->parser, $this);
51 xml_set_element_handler($this->parser, 'open','close');
52 xml_set_character_data_handler($this->parser, 'data');
56 xml_parser_free($this->parser);
62 return xml_parse($this->parser, $data, true) && !$this->failed ? $this->document : '';
65 function open(&$parser, $tag, $attributes) { argument
86 function data(&$parser, $data) { argument
92 function close(&$parser, $tag) { argument