Progress
Language Reference


REMOVE-ATTRIBUTE( ) Method

Removes the specified attribute of an element. If the removed attribute has a default value (specified by the document’s DTD) it is set to its default value.

Return Type: LOGICAL

Applies To: X-noderef Object handle

SYNTAX
REMOVE-ATTRIBUTE( name ) 

name

The name of the attribute to be removed.

The following example removes the attribute “Id”, or resets the attribute “Id” to its default value, for the XML node represented by hNoderef.

hNoderef:REMOVE-ATTRIBUTE("Id"). 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095