Modifying an xml file

Users can edit the xml files directly to change the variable values. However, modification of variables in the xml scripts is best done using the xmlchange script in the $CASEROOT directory since it performs variable error checking as part of changing values in the xml files. To invoke the xmlchange script:


xmlchange -file [name] -id [name] -val [name] -help -silent -verbose -file

-file

The xml file to be edited.

-id

The xml variable name to be changed.

-val

The intended value of the variable associated with the -id argument.

Note: If you want a single quotation mark ("'", also called an apostrophe) to appear in the string provided by the -val option, you must specify it as "'".

-silent

Turns on silent mode. Only fatal messages will be issued.

-verbose

Echoes all settings made by configure.

-help

Print usage info to STDOUT.