class_path_parser.php
Status: Beta
Brought to you by:
lrargerich
When parsing a xml-file, the handler goes to the function
i've created.
$parser->set_handler("/DATA/INPUT","input");
In my function 'input' I want to parse the content what
the handler gives me.
$Strparser = new Path_parser();
$Strparser->set_handler("/INPUT/NR","q_nr");
if (! $Strparser->parse($strContent))
{
print("Error:".$Strparser->get_error()."\n");
}
(So I've got 2 active parsers running then.)
That seems to work, except when the xml
between the input tags are the same.
It seems to be running until the end of dayz....