[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: <ged.corba.Node>


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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.