OverviewExamples
-- This example assumes the sample XML is already loaded into memory.
-- Return the names of the customer element's attributes.
customer_attributes = XML.GetAttributeNames("database/customer");
-- Perform some error checking.
error = Application.GetLastError();
if (error == 0) then
Dialog.Message("Element Attributes", "The two attribute names are: \r\n\r\n"..customer_attributes[1].."\r\n"..customer_attributes[2]);
else
Dialog.Message("Error", _tblErrorMessages[error]);
end
Gets the names of the customer element's attributes and displays them in a dialog message.
See also: Related Actions