Converting SGML to XML
Moderator: General Moderators
Converting SGML to XML
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.