xsd2db - XML Schema to DocBook XML converter

  1. About xsd2db
  2. Release Notes
  3. Documentation
  4. Copyright Information

About xsd2db

The xsd2db 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. It 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.

Release Notes

This is the first xsd2db release.

The xsd2db package is contributed with LayManSys and is used for converting XML Schema Definition files into DocBook XML code.

Documentation

sd2db.xsl has to be called with two XSL parameters:

sid (string)
This is the section ID you want to give the generated DocBook XML section. I prefer using the (local) filename as ID.
filename (string)
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

Copyright © 2006 Robert Bienert, project LayManSys

This package is released under the terms of the Creative Commons Attribution-ShareAlike 2.0 license as found in the file LICENSE or under http://creativecommons.org/licenses/by-sa/2.0/legalcode.