Progress
Language Reference
SET-ATTRIBUTE( ) Method
Adds a new attribute to an element. If an attribute with the same name is already present, its value is replaced with the specified value.
Return Type: LOGICAL Applies To: X-noderef Object Handle
name
A character expression that represents the attribute name.
value
A character expression that represents the attribute value.
The following example creates the following line in the hDoc output .xml file:
<Customer Id="54" Name="Second Skin Scuba"/>
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |