One documentation file for multiple schemas?
Oxygen general issues.
-
- Posts: 1
- Joined: Tue Jan 08, 2013 8:22 pm
One documentation file for multiple schemas?
Hello there,
Is there any way to make a single PDF file that combines the documentation for a set of xsd schemas? I have about 10 xsd files that I'd like to generate a single documentation file for.
Thanks,
Jim
Is there any way to make a single PDF file that combines the documentation for a set of xsd schemas? I have about 10 xsd files that I'd like to generate a single documentation file for.
Thanks,
Jim
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: One documentation file for multiple schemas?
Hello,
There is no built in support for selecting multiple schemas and generating their documentation in a single file. The Schema Documentation tool only supports one XML schema (XSD) as input.
However, there are a couple of possibilities to achieve that.
One is to generate the documentation for each schema in DocBook and then create a DocBook book that refers all the generated articles, something like:
and then use the DocBook transformation scenarios to get different output formats.
Another workaround to create a master XML schema that includes or imports (using the xsd:include / xsd:import elements) all your other XML schemas and then use this master schema as input for the XML Schema documentation tool.
Let us know if you need further assistance.
Regards,
Ionela
There is no built in support for selecting multiple schemas and generating their documentation in a single file. The Schema Documentation tool only supports one XML schema (XSD) as input.
However, there are a couple of possibilities to achieve that.
One is to generate the documentation for each schema in DocBook and then create a DocBook book that refers all the generated articles, something like:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<book xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
<title>Documentation for multiple schemas</title>
<xi:include href="docForSchema1.xml"/>
<xi:include href="docForSchema2.xml"/>
<!-- and so on -->
</book>
Another workaround to create a master XML schema that includes or imports (using the xsd:include / xsd:import elements) all your other XML schemas and then use this master schema as input for the XML Schema documentation tool.
Let us know if you need further assistance.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service