Re: Declaring element more than once in a DTD with namespace ?!?
Sebastien Sahuc wrote: > > Hello there, > > The XML spec says that elements with same name cannot be declared more > than once in DTD. Fine, now, I believe Namespace can help me to > proviude a workaround. >snip< > The main point is the 'operations' element : affiliate can have the > operations 'get'; 'set'; 'update'; etc... while merchant has it owns > one (different from affiliate's list). > I am new to XML, but it seems to me that a mere "workaround" could be done with more descriptive names, for example 'merchant-operations' and 'affiliate-operations'. They are, after all, different things, right? The reason I'm bothering the list with this rather trivial response is that I'm wondering if naming conventions are normal XML practice, or if there is a better way, short of specifying external files like namespaces seem to require. -- [............. Dan Gunter - LBNL ....................] [One Cyclotron Road, MS:50B-2239, Berkeley, CA 94720 ] [(510)495-2504 / DKGunter@l... ] xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
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