OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] <ged.corba.Node>

[ Lists Home | Date Index | Thread Index ]

Hi Raja,

rajac wrote:
 >
 > Is it possible to have the Element like <ged.corba.Node> in XML?.
 > The  reason is to make the definition of each Element (structure)
 > stricter  because if you had XML that combined different Elements
 > from  different DTD's, there would be no fear of clashes. To be
 > more specific,  to differentiate each element in such a way that
 > the Element belongs to  which DTD.
 >
The short answer is yes - see section 3.1, rule 40 of the XML 
Recommendation for  "start tag" syntax [1], drill down to rule 5 for 
"name" syntax [2], then follow to rule 4 for NameChars [3] where "." is 
explicitly permitted.

A more complete and possibly helpful answer is that there is in fact a 
mechanism for doing exactly what you need, called XML Namespaces [4]. 
There is also a very good explanatory article [5] by James Clark.

Hope this helps -

Francis.

[1] http://www.w3.org/TR/REC-xml#dt-stag
[2] http://www.w3.org/TR/REC-xml#NT-Name
[3] http://www.w3.org/TR/REC-xml#NT-NameChar
[4] http://www.w3.org/TR/REC-xml-names/
[5] http://www.jclark.com/xml/xmlns.htm





 

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

Copyright 2001 XML.org. This site is hosted by OASIS