XmlNodeGetName: Difference between revisions
Jump to navigation
Jump to search
m (→Example) |
mNo edit summary |
||
Line 26: | Line 26: | ||
==See Also== | ==See Also== | ||
{{XML functions}} | {{XML functions}} | ||
Revision as of 19:49, 11 December 2012
Gets the tag name of the specified XML node.
Syntax
string xmlNodeGetName ( xmlnode node )
Required Arguments
- node: the node to get the tag name of.
Returns
Returns the tag name of the node if successful, false otherwise.
Click to collapse [-]
Example 1Example
local xml = xmlCreateFile("test.xml","test") local xmlNode = xmlCreateChild(xml,"nextTest") local xmlNodeName = xmlNodeGetName(xmlNode) outputConsole(xmlNodeName) --This should output "nextTest".
See Also
- xmlCopyFile
- xmlCreateChild
- xmlCreateFile
- xmlDestroyNode
- xmlFindChild
- xmlLoadFile
- xmlLoadString
- xmlNodeGetAttribute
- xmlNodeGetAttributes
- xmlNodeGetChildren
- xmlNodeGetName
- xmlNodeGetParent
- xmlNodeGetValue
- xmlNodeSetAttribute
- xmlNodeSetName
- xmlNodeSetValue
- xmlSaveFile
- xmlUnloadFile