in reply to XML::Parser and Invalid XML
I have a bit of xml that uses numbers as elements.No you don't. If it looks like that, it is not XML. It's a markup language of your own creation, unsupported by the world.
If you change your DTD to something that permits this:
I think you'll be a lot happier, because then you can use the thousands of tools meant to be used with XML.<settings> <node item="1">Your Name</node> <node item="2">His Name</node> <node item="3">324324324</node> </settings>