function ARC_rdfxml_parser::handle_open in Taxonomy import/export via XML 6
Same name and namespace in other branches
- 5.2 arc/ARC_rdfxml_parser.php \ARC_rdfxml_parser::handle_open()
- 5 arc/ARC_rdfxml_parser.php \ARC_rdfxml_parser::handle_open()
- 6.2 arc/ARC_rdfxml_parser.php \ARC_rdfxml_parser::handle_open()
File
- arc/
ARC_rdfxml_parser.php, line 344
Class
Code
function handle_open($parser, $tag, $attrs) {
/* echo "at state ".$this->state." opening ".$tag."\n"; */
switch ($this->state) {
case 2:
/* expecting p open */
$this
->handle_open_2($tag, $attrs);
break;
case 4:
/* expecting sub_node */
$this
->handle_open_4($tag, $attrs);
break;
case 1:
/* expecting s open */
$this
->handle_open_1($tag, $attrs);
break;
case 6:
/* expecting xml data */
$this
->handle_open_6($tag, $attrs);
break;
default:
echo "unexpected handle_open call (at state " . $this->state . ") (" . $tag . ") \n";
}
}