Subject:How to produce a human-readable table, e.g. MS Word or HTML, from an XSD Author:James Harris Date:17 Apr 2014 03:48 PM
Hi.
Your product description and tutorial videos seem to me to say that I can produce a helpful human-readable table, e.g. MS Word or HTML, from an XSD (I infer "from an XSD alone"). I am trying now to attach my XSD file; perhaps you will see it attached.
I have worked on this for a few hours, watched the video tutorial on Reports, which specifically says it can be done with a "Schema Definition" (presumably he means an XSD file), and found nothing that works. Also, the tutorial video is of a Stylus Studio version very different from the one I just downloaded yesterday.
I have the XS3P.xsl in case that may help, but then I understand I need to convert my XSD file into an XML data file, which I also tried to learn how to do with Stylus Studio and failed, and besides, then I could produce my desired output _without_ Stylus Studio, right? (I agree the XS3P method _originally_ seemed to be more work, but as this task is going for me, that may still turn out to be easier).
Please tell me how to produce, from an XSD alone if possible, a human-readable table with a row for each element in the XSD, and a few columns, e.g.:
Element Name
Data Type
Field Length (e.g. M.N for numeric fields)
Restrictions, e.g. MinOccurs, MaxOccurs, etc.
(all of the above should be simply read from the XSD or filled in with something like "Not specified")
Subject:How to produce a human-readable table, e.g. MS Word or HTML, from an XSD Author:James Harris Date:22 Apr 2014 06:22 PM
Thanks, Ivan, but both shots miss the mark.
I agree, there are several ways to generate an XML data file that is valid according to a given XSD, but that is not what I wanted, and neither Stylus Studio nor XML Generator do what I want/need as far as I can tell, including the elaborate and labor-intensive "XSD Documentation" features of Stylus Studio.
However, I did find an old product (the first usable release I have seen is in 1993) called xsddoc (which the provider _says_ will produce the kind of output I want from _any_ XSD). I am running the version 2.0 product found at
and it does in fact produce an HTML table (which I converted easily to a M$ Word table) almost exactly as I want (it’s still missing the Restrictions, which I will need to add to the Word table manually if I can’t script a way to do it). A little “Replace All” editing was all it took to get the final product.
A more fully-developed commercial product (free for non-commercial use, as is true for our State Agencies) is xnsdoc by Buldocs, which has even more features, so I am giving up on Stylus Studio, but thanks for trying.
I will try to mark this thread CLOSED if I can easily figure out how.