History | Edit

To open a local file at start-up when you open Oxygen XML Editor from the command line, add the paths for one or more local files as parameters in the command line:
  • scriptName [pathToXMLFile1] [pathToXMLFile2]
    • scriptName is the name of the startup script for your platform (oxygen.bat on Windows, oxygen.sh on Mac OS X 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 Mac OS X 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 (W3C XML Schema, DTD, Relax NG schema in full syntax, Relax NG schema in compact syntax).
    • documentTypeName specifies the name of the document type for which the schema is defined. If the document type is already set in preferences, its schema and type are updated.

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.