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
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
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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Wed Mar 23, 2011 1:01 am
Re: Logical Model View -- save as Relax NG
Post by tara_athan »
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
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
-
- Posts: 5
- Joined: Wed Mar 23, 2011 1:01 am
Re: Logical Model View -- save as Relax NG
Post by tara_athan »
One more twist on this: can I configure the external tool to add this file to the current project?
Re: Logical Model View -- save as Relax NG
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
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
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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