XmlNodeSetAttribute: Difference between revisions
Jump to navigation
Jump to search
Black Dragon (talk | contribs) mNo edit summary |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This | This function is used to edit an attribute of a node in a configuration file. | ||
==Syntax== | ==Syntax== | ||
Line 10: | Line 8: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''xmlnode:''' The node in which you wish to edit the attribute. | ||
*'''name:''' The name of the attribute. | |||
*'''value:''' The value which you wish to change the attribute to. | |||
*''' | |||
*''' | |||
===Returns=== | ===Returns=== | ||
Returns ''true'' if | Returns ''true'' if edit was successful, ''false'' if the node and/or attribute do not exist, or if they're faulty. | ||
==Example== | ==Example== | ||
Line 32: | Line 27: | ||
{{FunctionArea_Functions}} | {{FunctionArea_Functions}} | ||
{{XML_functions}} | {{XML_functions}} | ||
[[Category:Incomplete]] |
Revision as of 15:10, 20 June 2007
This function is used to edit an attribute of a node in a configuration file.
Syntax
bool xmlNodeSetAttribute ( xmlnode xmlnode, string name, var value )
Required Arguments
- xmlnode: The node in which you wish to edit the attribute.
- name: The name of the attribute.
- value: The value which you wish to change the attribute to.
Returns
Returns true if edit was successful, false if the node and/or attribute do not exist, or if they're faulty.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo