When you describe that file as "XML" you are making an error. XML does not permit element names to begin with a digit. So yes, you can certainly create such a file by writing it as text. But don't make the mistake of describing it as an XML document. It isn't. And if you give it to somebody else to parse as XML, they aren't going to be happy with you.