Documents can be opened using one of the actions:
Ctrl+O) or press the toolbar button to display the Open dialog used to discover, select and open one or more files. The start folder of the Open dialog can be either the last folder visited by the Open dialog the last time it was used in <oXygen/> XML Author or the folder of the currently edited file. This can be configured in the user preferences.
→ (Open URL dialog used to open a document using FTP/SFTP/WebDAV.
→ or press the toolbar button to display the→ : Loads the last saved file content. All unsaved modifications are lost.
→ : Displays a list of recently opened document files. Select a file to open.
→ : Opens the selected file from the Project view.
From the command line when the <oXygen/> XML Author application is launched. If launched from the command line with the startup script installed by the installation wizard you can specify local file names as optional parameters:
multiple XML files to be opened automatically at startup in separate editor panels:
scriptName [pathToXMLFile1] [pathToXMLFile2] ...
where scriptName is the name of the startup script for your platform (
author.bat
on Windows,
author.sh
on Unix/Linux,
authorMac.sh
on Mac OS) and pathToXMLFileN
is the name of a local XML file
The two possibilities of opening files at startup by specifying them in the command line are explained also if the startup script receives one of the -h or --help parameters.
![]() | Note |
---|---|
When more files are opened you can change the tab order by clicking and dragging a tab in the desired position. |
In addition <oXygen/> XML Author supports direct opening of files from the command prompt. Use the following command syntax:
On Windows:
author.bat FileToOpen.xml
On Unix/Linux:
sh ./author.sh FileToOpen.xml
On Mac OS X:
sh ./authorMac.sh FileToOpen.xml
Also when the Tree Editor perspective is activated the current document in the Editor perspective will be opened and displayed as a tree of XML elements.