Converting SGML to XML
Posted: Mon Nov 01, 2010 4:35 pm
Hi, I have a file in SGML format, so there are a lot of open tags that are not closed, and I'd like to convert it to XML. Is preg_replace the only way to close these open tags? If so, does anyone have any pointers to help get me going in the right direction? Cheers.