XmlNodeGetAttribute: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
[[Category:Incomplete]]
__NOTOC__  
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl
This function is used to return an attribute of a node in a configuration file.


==Syntax==  
==Syntax==  
Line 10: Line 8:


===Required Arguments===  
===Required Arguments===  
*'''argumentName:''' description
*'''xmlnode:''' The node from which you wish to return the attribute
 
*'''name:''' The name of the attribute.
===Optional Arguments===
{{OptionalArg}}
*'''argumentName2:''' descriptiona
*'''argumentName3:''' description


===Returns===
===Returns===
Returns ''true'' if blah, ''false'' otherwise.
Returns the attribute in string form.


==Example==  
==Example==  
Line 32: Line 26:
{{FunctionArea_Functions}}
{{FunctionArea_Functions}}
{{XML_functions}}
{{XML_functions}}
[[Category:Incomplete]]

Revision as of 15:06, 20 June 2007

This function is used to return an attribute of a node in a configuration file.

Syntax

string xmlNodeGetAttribute ( xmlnode xmlnode, string name )             

Required Arguments

  • xmlnode: The node from which you wish to return the attribute
  • name: The name of the attribute.

Returns

Returns the attribute in string form.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea Functions