2009/4/23 al_shopov <[email protected]>: > > > Hi everyone, > As far as I can see currently trang cannot convert xsd schemas to relax ng. > Are there any plans to add this in future? If there are no plans for this > could anyone suggest another tool for this?
Not unless you want to try? Sun MSV is the tool I use. https://msv.dev.java.net/ FILE FOR THE SUN RELAX NG CONVERTER version 20060319 Copyright (c) Sun Microsystems, 2001-2006 Document written by Kohsuke Kawaguchi ([email protected]) ====================================================================== Sun RELAX NG Converter is a tool to convert schemas written in various schema languages to their equivalent in RELAX NG. It supports schemas written in XML DTD, RELAX Core, RELAX namespace, TREX, W3C XML Schema, and RELAX NG itself. This release includes software developed by the Apache Software Foundation (http://www.apache.org/). ---------------------------------------------------------------------- USAGE ---------------------------------------------------------------------- To convert a schema written in either RELAX Core, RELAX namespace, TREX, or W3C XML Schema, enter the following: $ java -jar rngconv.jar myschema.xsd > result.rng The converter detects the schema language automatically (except for XML DTDs) and writes the result to "result.rng". To convert an XML DTD, enter the following: java -jar rngconv.jar -dtd myschema.dtd > result.rng Note that you need the -dtd option. HTH -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk
