[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <ged.corba.Node>
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|