Arbortext Command Language > set Command Options > set xmlversion
  
set xmlversion
set xmlversion= { 1.0 | 1.1}
This command controls the XML version used when creating and saving an empty document using the ACL function doc_open or the AOM Application interface openDocument() method. The XML version number specified is written on the XML declaration at the start of the empty document when it is saved. If set to 1.1, it enables support for XML 1.1 characters in names and data. The default is 1.0 to use XML 1.0 rules.
XML 1.1 allows control characters in the range #x1 through #x1F and #x7F through #x9F, most of which are forbidden in XML 1.0. If xmlversion=1.1, these characters are accepted and written as numeric character references, regardless of the set writenonasciichar setting, to conform to the XML 1.1 specification.
Related Topics
set writenonasciichar command
doc_open function