Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## VERSION attribute

> Determines the value of the version string in the XML declaration of a SAX-writer object.

> Data type: CHARACTER

> Access: Readable/Writeable

> Applies to: SAX-writer object handle

> You can set the attribute to the value of the version string in the XML declaration. The default value is "`1.0`". For example:

>     <?xml version="1.0" encoding="UTF-8"?>

> You can read this attribute at all times, but you can only write to it 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 fails and generates an error message.

> If STRICT is TRUE, the only valid version is "`1.0`", and the VERSION attribute cannot be changed or you get an error message. If STRICT is FALSE, the version in the prolog of the XML document will match the value of the VERSION attribute.

> If the value is an empty string (""), then the version string will not appear in the XML declaration.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095