[PHP] I must be an XML parser idiot

2004-10-28 Thread Jay Blanchard
Good afternoon gurus and gurettes! * example code * /* functions for XML parser */ function dataHandler($parser, $data){ echo $data . "\n"; } function StartTag($parser, $name, $attribute){ if("servicebrandname" == $name){ echo "-\n"; } } function

RE: [PHP] I must be an XML parser idiot SOLVED

2004-10-28 Thread Jay Blanchard
[snip] > Good afternoon gurus and gurettes! [/snip] I was misspelling the XML tag name. *slaps forehead* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I must be an XML parser idiot

2004-10-28 Thread Robert Cummings
On Thu, 2004-10-28 at 14:26, Jay Blanchard wrote: > Good afternoon gurus and gurettes! > > * example code * > /* functions for XML parser */ > function dataHandler($parser, $data){ > echo $data . "\n"; > } > function StartTag($parser, $name, $attribute){ > if("servicebrandname"