Returns the value of an xml_attr object.
xml_attr->value
This example uses the [xml_attr->VALUE] method to return the attribute value of an xml_attr object which is retrieved using the [xml_node->attributes] method from an xml_node.
Code
var( rhino = xml('<rhino class="coder">Jono</rhino>') )
var ( rhinoAtt = $rhino->attributes->item(0) )
'The value is: '+$rhinoAtt->value
Result
The value is: coder
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments