Author |
Message
|
akil |
Posted: Mon Jun 23, 2014 3:47 am Post subject: Generate documentation from DFDL |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Hi
Is there a way to generate documentation for the DFDL schema's that are created in IIB9 ? The Generate Documentation option (which comes when I right-click on the schema file), says the input is not supported. |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jun 23, 2014 4:19 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
No - that facility is not available for DFDL.
However, DFDL is 'just xsd' and an xsd is 'just XML'. It should be fairly easy to write some XSLT that reads the DFDL xsd and writes an HTML file that displays what you need. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
akil |
Posted: Tue Jun 24, 2014 12:26 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Thanks, will write up an XSL.. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Jun 24, 2014 3:21 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
If you do create an XSL then I am sure a number of others would find it useful if you could share it with us. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
akil |
Posted: Thu Jun 26, 2014 4:48 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Hi..
Here's a first version of the XSL, the html is being currently reviewed for a project that we are doing, and I'll post updated version .
Please critique , tell me how to make it better, and I promise to work on it and update it ..
https://github.com/quantiguous/dfdl
Regards
Akhilesh |
|
Back to top |
|
 |
|