Re: [xml-dev] having elements starting with integer in xml

From
David Carlisle <>
To
Date
2007-12-17T13:09:54Z
ID
<>
Thread
Re: [xml-dev] having elements starting with integer in xml
> I need to have the tags like,
> <1-1>sdgdfgdfg</1-1>

> Any ideas??

You have two choices, 

you use the syntax that you want, but don't call the result XML (you
could probaby call it SGML, given a suitable SGML declaration).

Or if you want to use XML tools, you need to use a different element
name, such as


<U-1-1>sdgdfgdfg</U-1-1>

It's hard to imagine any processing that you wish to do on <1-1> that
you could not as eaily do on <U-1-1> (or <element name="1-1">)

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________