Open a Document from Another Application
Restriction: This feature is currently only available for macOS users.
Use Case
You want to open a document from another application in Oxygen XML Developer.
Solution
The Oxygen XML Developer installation kit for macOS comes with a
special protocol handler that can be used if you want to open remote resources in the
application (for example, opening a file from a CMS). The protocol is edit-in-oxygen
and you can use it from a command line like
this:
open edit-in-oxygen:protocol://host/path/file.xml
For example, if you start the following from the command
line:
open edit-in-oxygen:http://www.oxygenxml.com/index.html
Oxygen XML Developer will start and open the HTML content from the URL http://www.oxygenxml.com/index.html.
Tip: You can also use anchors on the URL to point to
specific lines or elements inside the open document: Opening a Document at a Specific Location Using a Command-Line Interface.