Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML data

From: "Joseph J. Kesselman" <keshlam-nospam@-------.--->
To: NULL
Date: 4/8/2008 3:53:00 PM

> dearly love to find is a tool that takes this information about
> classes and their relationships, from any input, whether that input is
> an XML file, a schema for a DB, or a suite of compilation units/source
> code files for whatever language, and creates all the other forms it
> requires (ideally letting me create the relevant UML diagram and
> create the works from that.  But I guess that is too utopian fo rthis
> industry.

To avoid making this an N-squared problem, the usual solution is to pick 
one core representation and write 2(N-1) conversions between it and the 
others; you can then run two of those back-to-back to convert between 
forms other than the core. Some implementations of this kind of system 
have used XML as the core representation; others have used databases or 
other programming structures.

The hard part is automating the construction of those conversion 
routines. Websearch for the phrase "data binding" will find some tools 
that have been written for that purpose, not all XML-related. The 
problem is that the quirks of each possible representation tend to make 
producing a _complete_ interoperable conversion environment more than 
slightly painful; it may wind up needing enough manual assistance that 
it's simpler just to hand-code the conversions in the first place.

Have fun...


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent