DOM from SAX

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

DOM from SAX

Post 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 :)
Post Reply