[thelist] PHP & XML

Daniel Fascia danfascia at totalise.co.uk
Sun Jun 9 20:39:02 CDT 2002


> How do I get the startElement function to call the characterData function for a certain
>tag type? Is this even possible?
>

Expat does not parse XML into a document object model format which would be ideal for
what you wish...

Why not try the EZXML freeware parser which does parse into a DOM tree for you...

http://developer.ez.no/filemanager/download/310/ezxml-1_0_4.tar.gz

It requires no additional libraries and is made in 100% PHP... which does make it a bit slower
Im guessing.

HTH

Dan








More information about the thelist mailing list