[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xml-dev] having elements starting with integer in xml
- From: Manos Batsis <manos_lists@...>
- To: Senthil Nathan <rsennat@...>, xml-dev@...
- Date: Mon, 17 Dec 2007 15:33:01 +0200
Senthil Nathan wrote:
> Hi,
> I know as per xml standards, there can't be any elements in the xml file
> starting with an integer.
>
> But if I need to have such integer tags, is there any workaround or
> anyother ideas to do that.
>
> I need to have the tags like,
> <1-1>sdgdfgdfg</1-1>
The simplest thing to do is to adopt a standard prefix, e.g. "prefix_":
<prefix_1-1>sdgdfgdfg</prefix_1-1>
hth,
Manos
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|