Release 10.1A: OpenEdge Development:
ADM Reference

> ## createAttribute

> Creates an Attribute in an element and returns its unique id.

> Location: xml.p

> Parameters:

> `INPUT pdOwner AS DECIMAL`

> NodeId of OwnerElement.

> `INPUT pcName AS CHARACTER`

> Name of the attribute.

> `INPUT pcValue AS CHARACTER`

> AttributeValue.

> Returns: DECIMAL

> Notes: The attribute is not added to the actual element if pcValue is undefined.

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