How to make Oxygen treat a txt file as XML (no import) ?
Posted: Sun Aug 14, 2011 9:11 am
Hello,
If I load a file with extension txt in Oxygen 11, Oxygen treat it as a text file. But in fact the content of the file is XML. How could I tell Oxygen to consider it as XML and be able to have syntax highlighting and other things related to XML ?
The file is loaded through the pipe mechanism under Mac OS X and the command open:
The command line launcher oxygenMac.sh doesn't seem to have the required options:
TIA,
Ludovic Kuty
If I load a file with extension txt in Oxygen 11, Oxygen treat it as a text file. But in fact the content of the file is XML. How could I tell Oxygen to consider it as XML and be able to have syntax highlighting and other things related to XML ?
The file is loaded through the pipe mechanism under Mac OS X and the command open:
Code: Select all
gzcat B000QUU7KC.xml.gz | open -f -a Oxygen
Code: Select all
mac:oxygen ludo$ oxygenMac.sh --help
Usage:
oxygenMac.sh --help : to show this help
oxygenMac.sh --h : to show this help
oxygenMac.sh [pathToFile]... : to open the specified files
oxygenMac.sh -instance pathToXMLFile -schema pathToSchemaFile -schemaType XML_SCHEMA|DTD_SCHEMA|RNG_SCHEMA|RNC_SCHEMA -dtName documentTypeName: to open a file with default schema association
Ludovic Kuty