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>

> 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. 
________________________________________________________________________


[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