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

 
> > I need to have the tags like,
> > <1-1>sdgdfgdfg</1-1>

As Manos says, you can prefix them. For example

<_1-1>sdgdfgdfg</_1-1>

But reading between the lines, I strongly suspect that a better document
design would be something like:

<element section="1" subsection="1">sdgdfgdfg</element>

Generally any kind of microsyntax appearing within element names is evidence
of poor design.

Michael Kay
http://www.saxonica.com/



[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