Opening Local Files at Start-up
There are two possibilities for opening local files at startup from a command line by adding
their file paths as parameters:
- scriptName [pathToXMLFile1] [pathToXMLFile2]
- scriptName is the name of the startup script for your platform ( oxygenDeveloper.bat on Windows, oxygenDeveloper.sh on macOS and Linux).
- pathToXMLFileN is the name of a local XML file.
-
An XML file and a schema file to be associated automatically to the file and used for validation and content completion:
scriptName -instance pathToXMLFile -schema pathToSchemaFile -schemaType XML_SCHEMA|DTD_SCHEMA|RNG_SCHEMA|RNC_SCHEMA -dtName documentTypeName
- scriptName is the name of the startup script for your platform (oxygen.bat on Windows, or oxygen.sh on macOS and Linux).
- pathToXMLFile is the name of a local XML file.
- pathToSchemaFile is the name of the schema that you want to associate to the XML file, the four constants (XML_SCHEMA, DTD_SCHEMA, RNG_SCHEMA, RNC_SCHEMA) are the possible schema types (XML Schema, DTD, Relax NG schema in full syntax, Relax NG schema in compact syntax).
- documentTypeName specifies the name of the document type that has the schema defined. If the document type is already set in preferences, its schema and type are updated.
Tip: You can use the -h or --help parameters to see more detailed
information about possible values.