xsd to rnc
Are you missing a feature? Request its implementation here.
-
- Posts: 1
- Joined: Sat Feb 12, 2011 6:06 am
xsd to rnc
I'm wondering why the Generate/Convert Schema tool doesn't allow an input type of xsd.
The first hit when I search Google for "convert xsd to relaxng" is http://debeissat.nicolas.free.fr/XSDtoRNG.php which refers one to the xsl document at http://xsdtorngconverter.googlecode.com ... DtoRNG.xsl which seems to produce a valid rng file when I use it in a transformation scenario (as long as I remove the xs:annotation and its child xs:documentation elements from my schema) which oXygen then happily converts to rnc.
My admittedly limited understanding of relaxng is that it can do *more* than xsd, so it seems like it would be safe to allow conversion of xsd to rng/rnc.
The first hit when I search Google for "convert xsd to relaxng" is http://debeissat.nicolas.free.fr/XSDtoRNG.php which refers one to the xsl document at http://xsdtorngconverter.googlecode.com ... DtoRNG.xsl which seems to produce a valid rng file when I use it in a transformation scenario (as long as I remove the xs:annotation and its child xs:documentation elements from my schema) which oXygen then happily converts to rnc.
My admittedly limited understanding of relaxng is that it can do *more* than xsd, so it seems like it would be safe to allow conversion of xsd to rng/rnc.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: xsd to rnc
oXygen uses Trang for the schema conversions and Trang does not support XSD as input.
As you note there are other tools that can do that. In addition you can also try rngconvert from
http://java.net/downloads/msv/nightly/
You can easily integrate this as external tool in oXygen and apply it on the current schema if you use editor variables when you create the command line for the external tool.
Last time I checked the license did not allow distributing MSV in a commercial product but now looking at the project it seems it is not that case anymore so we will look again and consider including this to enable conversion from XSD.
Best Regards,
George
As you note there are other tools that can do that. In addition you can also try rngconvert from
http://java.net/downloads/msv/nightly/
You can easily integrate this as external tool in oXygen and apply it on the current schema if you use editor variables when you create the command line for the external tool.
Last time I checked the license did not allow distributing MSV in a commercial product but now looking at the project it seems it is not that case anymore so we will look again and consider including this to enable conversion from XSD.
Best Regards,
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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