XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] having elements starting with integer in xml

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS