[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Translation between DTDs, schemas, UML, and the like
A. G. McDowell wrote: > There seem to be a large number of languages devoted to listing (for > instance) the fields that make up a customer order and describing their > data types. To comprehend a (hypothetical) ecommerce system I might have > to follow a relational schema for the underlying database, a UML model > of the application classes and logic, and a schema or DTD for the XML > used to exchange data with its customers. > > Is there any hope of a product that could be used to automatically > generate some part of this? I suspect such a product will eventually be available. The major analysis work required to do a relational schema, object model and a schema/DTD for XML seems to be the same, finding the entities/classes/elements/components/concepts (or whatever your favourite vocabulary/method calls them) and their relations (and some of the constraints of the relations, multiplicity typically being the most important) When doing object models, you have many more choices for optimalization/design of the implemented structure towards your specific needs/applications than with the relational model. With XML, you unfortunately(?) at some point need to choose whether you should implement a concept as an element or an attribute (most DB/OO design tools forces you to take this similar decision "too early"), and whether you should implement/codify a relation using the tree-structure of XML (child elements), or whether to use IDs and IDREFs type of mechanisms. I believe the major work in designing DTDs/schemas for XML, relational schemas and analysis/high level OO class diagrams could use the same tool/formalism, but that you at some level need to add some extra information/decisions dependent upon the "output format". Cheers, Jarle Stabell Digital Logikk AS 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/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe 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
|