Roxmlelement – BrightSign Object Reference Manual (FW 5.1) User Manual
Page 40

32
roXMLElement
This object is used to contain an XML tree.
The roXMLElement object is created with no parameters:
CreateObject("roXMLElement")
The following examples illustrate how XML elements are parsed in BrightScript:
Name = tag1
Attributes = Invalid
Body = roString containing "This is example text"
Name = tag2
Attributes = roAssociativeArray with one entry, {caveman, barney}
Body = Invalid
If the tag contains other tags, the body will be of the type roXMLList.
Example: To generate XML content, create an roXMLElement and call the
build it, then call the
This manual is related to the following products: