Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: XSD/DTD to English tool >Thread Next - Re: XSD/DTD to English tool Re: XSD/DTD to English toolTo: NULL Date: 2/6/2006 2:09:00 AM Peter Flynn wrote: > Matt Silberstein wrote: > >> I am looking for something that would "translate" an XSD (preferably) >> or a DTD into something like English. The idea is to get something >> like: >> >> Element Person has >> one or more titles which are strings >> exactly one first name which is a string > > > I suspect that on anything even as simple as HTML, the permutations of > phrasing you'd need would be beyond most systems to make understandable > English of. I think you're probably right, but it reminds me of a venerable program called cdecl which translates a C language declaration into English (or vice versa). For example, if you ask: explain char*(x[])(int, long) It responds: declare x as array of function (int, long) returning pointer to char It might be an interesting exercise to see how far one could get using an XSLT to parse the XSD and produce explanations in English. If you really wanted to make it useful, it could produce HTML which would have hyperlinks to subtypes. Ed | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
