Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSD/DTD to English tool

From: Ed Beroset <beroset@----------.--->
To: 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


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