XMLSTATUS


The 4GL command XML returns an XMLSTATUS() for every command and can contain the following values:

Table 35. XMLSTATUS

ValueDescriptionAdditional Information
0Command processed successfully.All OK.
10501Node name can not contain full path.Use pathless node name ie 'contents' instead of '/book/contents'
10502Error counting nodes.Check node name. Full paths in node name is allowed.
10503Can not parse file name.Check if contents of file is valid XML.
10504Can not parse TextDocument.Check if contents of TextDocument is valid XML.
10505Invalid operation.Validate logic to check 4GL syntax.
10506Can not read attribute.Check name of attribute and if attibute does exist.
10507Can not read element.Check name of element and if element does exist.
10508Can not locate node.Check name of node and if node does exist.
10509Can not open file for writing.Check path, name and permissions of output file.
10510Can not copy XmlDocument.Check if XmlDocument does exist.
10511Can not load XSLT stylesheet.Check if contents of stylesheet is valid.
10512Can not transform XML using XSLT.Check both if XML and XSLT are valid.
10513Can not write XSLT transformed document to disk.Check if output file, path and permissions are correct.
10514Can not write XSLT transformed document to TextDocument.Check if TextDocument does exist.
10598Feature not implemented yet.Please contact support about the status of this feature.
10599Unknown error.No additional info. Please contact support.