# Standard xne reference

XsoInfo

The `XsoInfo` class is a xml/xsm information node used to carry simple information about a tag. The node is constructed by name, with a set of atributes and eventually a text associated with the node. The text information is generally the one associated between the start tag and the end tag. In the case of complex tree, such text data might be empty.

xso-info-p
Nameable
XsoInfo
none

The `XsoInfo` constructor creates a default info object.

XsoInfo
String

The `XsoInfo` constructor creates an info object by name. The string argument is the node info name.

XsoInfo
String String

The `XsoInfo` constructor creates an info object by name and text. The first argument is the node info name. The second argument is the node text information.

set-name
none
String

The `set-name` method sets the info object name.

set-attribute
none
String Literal

The `set-attribute` method sets an attribute by name and value. The first argument is the attribute name. The second argument is the attribute value.

get-attribute-list
Plist
none

The `get-attribute-list` method returns the node attribute list in the form of a property list object.

get-attribute-value
String
String

The `get-attribute-value` method returns the attribute value by name. The string argument is the attribute name.

set-text
none
String

The `set-text` method sets the info object text.

get-text
String
none

The `get-text` method returns the text information.