Page 1 of 1

DOM from SAX

Posted: Fri Dec 16, 2005 7:52 pm
by alex.barylski
Having just started using PHP's SAX parsing functions...

I find myself thinking...if it's possible to write an DOM class using a SAX parser?

I have concluded it is very possible and have begun writting a simple DOM class...

But...I wonder if anyone out there has done this before me and wouldn't mind offering some insight into likely problems, how you solved it, etc...

Heck even if you haven't, but are familiar with SAX and DOM...gimme some ideas...

Thanks :)