Whitebeam Template Reference Documentation |
|||||||||||||||||||||||||||||||||||||||||||||||||
Some attribute names may not be legal JavaScript property names - or may be reserved words. In this case you
access the properties with the subscript mechanism. So in the example above - the 'return' property
cannot be accessed as tag.attributes.return, because this is a reserved word in JavaScript. Instead it would
be accessed in code as tag.attributes["return"].
The XmlTag object itself is similar to an array (it is not a JavaScript Array!). The numeric properties of the object represent the direct child elements of the XmlTag. So 'tag[0]' represents the first child element - which could be another tag, a text element or something else. Methods
Object Properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Whitebeam release 1.3.36 (loadtime : 12ms) |