xsd2db package is contributed with LayManSys and is used for converting XML Schema Definition files into DocBook XML code.
Version: 0.1.0xsd2db package is contributed with LayManSys and is used for converting XML Schema Definition files into DocBook XML code. The transformer can also be used to generate DocBook XML from plain XML files.
Operating System: Linux
xsd2db marks up tag names, attribute names, attribute values and annotation, if parsing XSD code. The resulting DocBook XML code may be styled, so that you have got syntax highlighted XML code.
sd2db.xsl has to be called with two XSL parameters:
This is the section ID you want to give the generated DocBook XML section. I prefer using the (local) filename as ID.
This is the name of the file being processed. It is used as text for the sections title.
If you use xsltproc you have to call xsd2db.xsl this way:
xsltproc --stringparam sid SECTIONID --stringparam
filename FILENAME xsd2db.xsl FILE2PROCESS