[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Flatten an rnc schema?
- From: George Cristian Bina <george@oxygenxml.com>
- To: Lech Rzedzicki <xchaotic@gmail.com>
- Date: Fri, 25 Feb 2011 17:22:09 +0200
Hi Lech,
See the -s option on the Jing command line.
Something like below:
java -jar jing.jar -s -c schema.rnc
should output the simplified schema pattern after schema.rnc is parsed.
You will get Relax NG XML so you need to pass that through Trang to get
Relax NG compact syntax.
This is already recorded as a feature request for oXygen.
Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 2/25/11 5:10 PM, Lech Rzedzicki wrote:
> Hi.
>
> I am looking for something that will flatten my RelaxNG schema written
> in the compact syntax.
> I was really surprised not to have found anything yet, I didn't find
> any suitable option in Trang, Oxygen has a "flatten" option but that
> only works for xsd.
> Worst case is I will convert to XML, run XProc/XSL to resolve the
> included files, but like I said, I am really surprised that there
> really isn't something out there already (or is my google-fu weak?).
>
> Lech
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]