Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Document.xmlVersion

{Document}.xmlVersion{SSS_XML_DOM_EXCEPTION: {The implementation does not support the requested type of object or operation.}})

N/xml Module
Document.xmlVersion
Property Description: Part of the XML declaration, the version number of the XML document. In the following declaration, the xmlVersion property is 1.0: This property is not supported on Internet Explorer or Firefox.
Type: string (read-only)
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/xml Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Document.xmlVersion

Example:

// Code Example 1
//Add additional code
//...
var version = xmlDocument.xmlVersion;
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_460908752440.html