on off:n |
Determines if the XML flag has been set automatically, or has been forced either to on or off.
Ø |
Automatic mode: If the on off parameter is not specified, the macro toggles the XML flag on and off. If the mode flag is set to automatic mode, Arbortext APP calculates the default setting of the XML flag based upon the type of the specified stream or the contents of the stream. When the stream is in automatic mode, the following criteria are used to determine if the stream should be passed as XML: |
Stream Type:
|
XML (.xm) or XSLT (.xs) type streams have the XML flag set on; all other stream types are set off.
|
Stream Contents:
|
If the stream has a valid XML declaration at the start the flag is set on.
Once the XML flag has been set manually automatic detection for that stream is no longer available.
|
0 |
Forced mode - Force XML parsing off. |
1 |
Forced mode - Force XML parsing on. |
2 |
Reset the XML flag to its default value, returning to automatic mode. |
|