BrightSign BrightScript 3.0 Reference Manual User Manual
Page 25

20
The following will return an roXMLElement reference to the first photo (id="
3131875696"):
? rsp.photos.photo[0]
The following will return an roXMLList reference containing the
? rsp.photos
The following will return the string “100”:
rsp.photos@perpage
You can use the roXMLElement.GetText() method to return an element’s text: For example, if the variable
contains the element
Dawn of Man”.
Print booklist.book.gettext()
Alternatively, using the Attribute Operator will print the string “eng”.
print booklist.book@lang
Example (Flikr code clip)
REM
REM Interestingness
REM pass an (optional) page of value 1 - 5 to get 100 photos
REM starting at 0/100/200/300/400
REM
REM returns a list of "Interestingness" photos with 100 entries
REM