(sorry about that)
How can I ensure that what I have in the mysql database is a valid XML fragment? (ie, all tags closed, that they're not overlapping, etc.). The standard PHP distro doesn't have much in the way of XML parsing, unless you use Expat. Is there a regular expression for validating any string as XML?