get_attr


Description:

public unowned string get_attr (string attr_name)

Get the value of the attribute named attr_name, or null if it doesn't exist.

Parameters:

this

a XmlNode

attr_name

the name of an attribute

Returns:

the attribute value. This string is owned by XmlNode and should not be freed.