The [xml_element->tagname] method returns the name of the tag of an xml_element object.
xml_element->tagname
Use the [xml_element] method to return the tag name of the current xml_element.
This example returns the tag names of the XML element.
Code
var( myString = '<data><item><key>1</key><value>Sat</value></item><item><key>2</key><value>Sun</value></item></data>' )
Result
data
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