XmlCreateSubNode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Changed description, fixed syntax, added argument descriptions, added return info, added categories) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server client function}} | {{Server client function}} | ||
This function | This function creates a subnode for a specified XML node. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">xmlnode xmlCreateSubNode ( xmlnode, tagname )</syntaxhighlight> | <syntaxhighlight lang="lua">xmlnode xmlCreateSubNode ( xmlnode parentNode, string tagname )</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''parentNode:''' the [[xmlnode]] you want to create a subnode of. | |||
*''' | *'''tagname:''' the type of the subnode that will be created. | ||
*''' | |||
===Returns=== | ===Returns=== | ||
Returns | Returns the created [[xmlnode]] if successful, ''false'' otherwise. | ||
==Example== | ==Example== | ||
[[Category:Needs Example]] | |||
==See Also== | ==See Also== | ||
{{XML functions}} | {{XML functions}} | ||
[[Category:Incomplete]] |
Revision as of 11:05, 20 October 2007
This function creates a subnode for a specified XML node.
Syntax
xmlnode xmlCreateSubNode ( xmlnode parentNode, string tagname )
Required Arguments
- parentNode: the xmlnode you want to create a subnode of.
- tagname: the type of the subnode that will be created.
Returns
Returns the created xmlnode if successful, false otherwise.