The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

SetAttribute Method

Sets the value of the specified attribute or create it if is not part of the element's attribute collection.

XmlElement.SetAttribute(Name, Value)  


 Type: String
The fully qualified name of the attribute to set.

 Type: String
The value to set for the attribute.

See Also

HTTP, JSON, TextBuilder, and XML API
Getting Started with AL
Developing Extensions