Automation Engine Script Guide > Ordered by Function > Read or Modify Objects > :XML_CLOSE

:XML_CLOSE

Script Statement: Closes an XML document

Syntax

:XML_CLOSE

Comments

This script statement closes an XML document after processing.

As it is not possible to open more than one XML document at a time, the succeeding one can only be opened for processing afterwards using XML_OPEN.

In previous Automation Engine releases, this script function :XML_CLOSE_DOCU was renamed to :XML_CLOSE. You can still use the old notation.

Example

The Detailst tab of a structured documentation is closed after successful execution.

:SET &XMLDOCU# = XML_OPEN("MM.DAY", "@Details") 
!...

:
XML_CLOSE

 

See also:

Script element Description

XML_OPEN

Opens an XML document for processing

Script Elements - Read or Modify Objects

Structured Documentation

www.w3c.org/TR/xmlbase

Sample Collection:
Retrieving Error Message and Number

About Scripts
Script Elements - Alphabetical Listing

Script-Elements - Ordered by Function