Method XmlNode():setVersion() Foundation
Sets the XML standard version the XML document conforms to.
:setVersion( <cVersion> ) --> self
:setVersion() returns the object executing the method.
The method :setVersion() is used to specify the version of the XML standard the XML document conforms to. The version is defined in the XML document declaration section of the XML document.
:setVersion() can be called on any node of an XML document. The method then locates the document node for changing the version in the XML document definition. If the node is not associated with any XML document, that is, if the node is a part of an XML graph without a document node, :setVersion() raises a runtime error.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.