DTDs & XML Schemas are analogous documents. They both describe data. DTDs pre-date Schemas and have been superceded by them although both are still in use. Since XML Schemas are XML documents, you could have a DTD that describes an XML Schema but I don't know of a reason you would want to.
There are tools that generate DTDs and XML schemas from sample data but I'm dealing with new messages created from existing IBM IAA schemas (Insurance Applications Architecture) similar to those provided in various XML EDI standards. The goal is to be able to re-generate pruned schemas when changes occur in the newly designed messages which occurs frequently during development. The process would be comparable to a tool that would re-generate pruned X12 standards. Of course, since the X12 standards are static such a repeated process usually isn't required. Building custom messages which inherit extensive unused depth and girth from the source schema do beg for such a tool for performance reasons as XML parsers step through each component whether you actually use it or not. Thus, a process that is documentable and repeatable is highly desirable and discourages manual pruning which is not easily documentable and error-prone. Jim Divoky --- In [email protected], "Michael Mattias" <[EMAIL PROTECTED]> wrote: ... > > You mean modify the schema as defined in a DTD depending on the actual data? > > Or are you looking for a tool which does a "modify this DTD to add/change/delete <some item>?? (i.e., create a new DTD starting with > some existing DTD as a 'base') > > Not that I have either, but since the question is a little foggy to me thought I'd ask...but I think I saw once somewhere a 'DTD > generator' or 'creator' which created a DTD based on the data supplied... but the use of that would assume that all possible data > are present in the supplied data. > > Regardless, you might like to try a search based on something like "generate" and/or "create" a DTD rather than "prune" ... > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/OIFolB/TM --------------------------------------------------------------------~-> . Please use the following Message Identifiers as your subject prefix: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC> Access the list online at: http://groups.yahoo.com/group/EDI-L Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/EDI-L/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
