XmlNodeGetAttribute

From Multi Theft Auto: Wiki
Revision as of 15:06, 20 June 2007 by Black Dragon (talk | contribs)
Jump to navigation Jump to search

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