Vebut Posted February 3, 2009 Share Posted February 3, 2009 Hi! I've tried working with DOM now for the past couple of weeks and I really like it. Today I'm building a CSS selector (template engine) with PHP to see if it'll speed up my development. So for the first time I loaded a xhtml file into DOM object and started to work as usual, but it seems that DOM alters the document DTD or something because some tags are removed, some altered, and a few added... Why is that and is there a way to get around it? I've also started to build my very own HTML parser 3 days ago but I'm not very good with regex, so I scraped that idea last night. Thanks Daniel Link to comment https://forums.phpfreaks.com/topic/143598-dom-object-alters-xhtml/ Share on other sites More sharing options...
Vebut Posted February 3, 2009 Author Share Posted February 3, 2009 *Bump* Anybody? Link to comment https://forums.phpfreaks.com/topic/143598-dom-object-alters-xhtml/#findComment-753625 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.