...
The following examples illustrate how XML elements are parsed in BrightScript:
...
Code Block | ||
---|---|---|
| ||
<tag1>This is example text</tag1> |
...
- Name = tag1
- Attributes = Invalid
- Body = roString containing "This is example text"
Code Block | ||
---|---|---|
| ||
<tag2 caveman="barney"/> |
- 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.
...