Hi forum,
Inspired by an O’Reilly article from December 2005 I want to add a XMLNS prefix to all markup in my Atom web feed. However my database only contains plain old XHTML.
How can I append a xhtml: prefix to all XHTML tags in the heystack using PHP? For instance would <p id="something"> have to be changed to <xhtml:p id="something">. That goes for each and every opening and closing element (except for escaped ones).
Any good suggestions?
__________________
I do not share ad revenue.
Last edited by Moldarin; 12-08-2007 at 09:12 PM..
Reason: Disabled smilies.
|