XmlNodeSetName: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(add oop syntax) |
||
Line 8: | Line 8: | ||
bool xmlNodeSetName ( xmlnode node, string name ) | bool xmlNodeSetName ( xmlnode node, string name ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[xmlnode]]:setName|name|xmlNodeGetName}} | |||
===Required Arguments=== | ===Required Arguments=== |
Revision as of 20:25, 2 January 2015
Script Example Missing Function XmlNodeSetName needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
Sets the tag name of the specified XML node.
Syntax
bool xmlNodeSetName ( xmlnode node, string name )
OOP Syntax Help! I don't understand this!
- Method: xmlnode:setName(...)
- Variable: .name
- Counterpart: xmlNodeGetName
Required Arguments
- node: the node to change the tag name of.
- name: the new tag name to set.
Returns
Returns true if successful, false otherwise.
Example
--TODO
See Also
- xmlCopyFile
- xmlCreateChild
- xmlCreateFile
- xmlDestroyNode
- xmlFindChild
- xmlLoadFile
- xmlLoadString
- xmlNodeGetAttribute
- xmlNodeGetAttributes
- xmlNodeGetChildren
- xmlNodeGetName
- xmlNodeGetParent
- xmlNodeGetValue
- xmlNodeSetAttribute
- xmlNodeSetName
- xmlNodeSetValue
- xmlSaveFile
- xmlUnloadFile