xml editor

Products

Features

  EPUB
Supported platforms

Supports Windows 7 & Mac OS X Lion

Ready for XML Editor data server software
W3C Member

Logical Model View -- save as Relax NG

This should cover W3C XML Schema, Relax NG and DTD related problems.

Re: Logical Model View -- save as Relax NG

Postby adrian » Thu Mar 24, 2011 4:04 pm

Hello,

Like George said, you can use cmd:
cmd /C java -jar "C:\MyPath\OxygenXMLEditor\external_tools\jing-20090818\bin\jing.jar" -cs ${cfne} > ${cfn}_flatten.rng

Make sure the working directory is correct or use the current file directory editor variable: ${cfd}

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
 
Posts: 979
Joined: Tue May 17, 2005 4:01 pm

Re: Logical Model View -- save as Relax NG

Postby tara_athan » Sat Mar 26, 2011 1:05 am

Thanks, I got this working. For the benefit of other command-line challenged folks out there, this is the way the command line field should look

cmd.exe /c java -jar "C:\MyPath\jing-20091111\bin\jing.jar" -s ${cfne} > ${cfne}_flatten.rng

OR, for schema in compact syntax

cmd.exe /c java -jar "C:\MyPath\jing-20091111\bin\jing.jar" -sc ${cfne} > ${cfne}_flatten.rng
tara_athan
 
Posts: 4
Joined: Wed Mar 23, 2011 1:01 am

Re: Logical Model View -- save as Relax NG

Postby tara_athan » Sun Mar 27, 2011 1:14 am

One more twist on this: can I configure the external tool to add this file to the current project?
tara_athan
 
Posts: 4
Joined: Wed Mar 23, 2011 1:01 am

Re: Logical Model View -- save as Relax NG

Postby adrian » Mon Mar 28, 2011 3:16 pm

I'm afraid you can't configure the external tool to add the output file to the project.

An alternative is to manually add the parent directory(or another ancestor) of the output file to the project. In the project tree right click on a logical resource or the tree root and from the contextual menu choose Add Folder.

After generating the file, refresh the parent directory and the file will appear in the tree.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
 
Posts: 979
Joined: Tue May 17, 2005 4:01 pm

Previous

Return to XML Schemas

Who is online

Users browsing this forum: No registered users and 0 guests

XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor