From: sln on
On Wed, 09 Jun 2010 22:02:32 +0100, Peter Flynn <peter.nosp(a)m.silmaril.ie> wrote:

>sln(a)netherlands.com wrote:
>> On Mon, 07 Jun 2010 12:32:15 +0100, Peter Flynn <peter.nosp(a)m.silmaril.ie> wrote:
>[...]
>>> I always counsel to avoid the non-XML approach
>[...]
>> This might parse it (with a slight bit of validation)
>
>It occurs to me that you can combine both methods, iff the document is
>well-formed.
>
>Run onsgmls -wxml /usr/share/xml/declaration/xml.dcl doc.xml >doc.esis
>to get the ESIS, and then tweak the W3C's esis2xml.py script to re-form
>the XML document, omitting the namespaces. Or write your own in Perl...
>
>///Peter

Hey thanks!