Brightsign Object Reference Manual (FW 5.1) Manual de usuario Pagina 40

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 341
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 39
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:
<tag1>This is example text</tag1>
Name = tag1
Attributes = Invalid
Body = roString containing "This is example text"
<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.
Example: To generate XML content, create an roXMLElement and call the SetBody() and SetName() methods to
build it, then call the GenXML() method to generate it.
Vista de pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 340 341

Comentarios a estos manuales

Sin comentarios