|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schemas: Best Practices
"Roger L. Costello" wrote: > > > One simple solution is that when you create Chameleon components assign > them a global unique id (a GUID). The XML Schema spec allows you to add > an attribute, id, to all element, attribute, complexType, and simpleType > components. This id attribute can be used by a tool to "locate" a > Chameleon component, regardless of what "face" (namespace) it currently > wears. That is, the tool opens up an instance document using DOM, and > the DOM API will provide the tool access to the id value for all > components in the instance document. > Could one (should one?) generalise this to suggest a convention whereby we use IDs for syntactic re-use and namespaces for semantic re-use? It has a certain appeal - namespaces carrying more obvious semantic information than GUIDs... Francis. - Francis Norton. why not?
|
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
|
|||||||||

Cart








