Menu

#7 class_path_parser.php

open
nobody
None
5
2003-10-06
2003-10-06
No

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....

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.