Products Downloads


French version


 

 

ADELIA

VADELIA

SADELIA

WADELIA

MADELIA

(I/B)

(I/B) (C/S)

(B) (S)

(I/B) (C/S)

(I) (C/S)

 

 

Section for use

All.

 

Syntax

XML_DELETE_VAL XmlIdentifierName

or

XML_DELETE_VAL XmlIdentifierName Attribute

 

Attribute

Þ

<attribute name> | &<alpha variable> | *TEXT

 

Description

Deletes the current node's <attribute name> attribute or text.

 

The *TEXT directive can be omitted if only the text is to be deleted.

 

When this instruction is executed, the *RETURN_CODE reserved word can take the following values:

0 (*NORMAL)

Operation completed successfully.

13

Error: XML identifier not open.

19

Error while deleting a value for the node.

 

Example

* To delete the text associated with the current node

XML_DELETE_VAL xml1

* To delete the current node's attrib1 attribute

XML_DELETE_VAL xml1 attrib1

* deletes the attribute, whose name is stored in the AttrName1 variable , from the current node

ALPHA(15) AttrName

AttrName = 'attrib1'

XML_DELETE_VAL xml1 &AttrName

 

 

 

↑ Top of page

  • Aucune étiquette