Lasso Soft Inc. > Home

[ xml_element->tagname ]

Method

The [xml_element->tagname] method returns the name of the tag of an xml_element object.

  • Syntax
xml_element->tagname
Examples
  • Beginner

Return the tag name of an xml_element

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

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft