Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following examples illustrate how XML elements are parsed in BrightScript:

Code Block
titleExample 1
<tag1>This is example text</tag1>
  • Name = tag1
  • Attributes = Invalid
  • Body = roString containing "This is example text"

 

Example 2
Code Block
title
<tag2 caveman="barney"/>
  • Name = tag2
  • Attributes = roAssociativeArray with one entry, {caveman, barney}
  • Body = Invalid

...