XmlAttribute

Description

sealed class Tinman.Core.Xml.XmlAttribute

Derived from

XmlNodeWithParent abstract

Represents an attribute in an XML element:

name="value"

Public / Constructors

For


[Pure]
public static method For → (2)

name in : string

[not-empty]
The attribute name.

value in : string

[not-null]
The attribute value.

returns → XmlAttribute

The created XmlAttribute object.

Creates a new instance of XmlAttribute.

ValidatingException

If name in is malformed.

Xml​Attribute


public constructor XmlAttribute → (2)

name in : XmlName

See Name.

value in : XmlLiteral

[not-null]
See Value.

Creates a new instance of XmlAttribute.

Public / Attributes

Name


[Constant]
public attribute Name → (get)

value : XmlName

The attribute name.

Returns the attribute name.

Value


[Constant]
public attribute Value → (get)

value : XmlLiteral

[not-null]
The attribute value.

Returns the attribute value.