Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : STANDALONE attribute
 

STANDALONE attribute

Determines the value of the standalone string in the XML declaration of a SAX-writer object.
Data type: LOGICAL
Access: Readable/Writable
Applies to: SAX-writer object handle
You can set the attribute to the value of the standalone string in the XML declaration. The default value is the Unknown value (?). If the value is the Unknown value (?) then the standalone string will not appear in the XML declaration.
Valid values of standalone in the XML declaration are "yes" and "no". If you set the standalone value, then the standalone string appears in the XML declaration.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
This attribute can be read at all times, but can only be written when the WRITE-STATUS is either SAX-WRITE-IDLE or SAX-WRITE-COMPLETE. That is, it can only be changed when the writer is not writing, otherwise it will fail and generate an error message.