XmlName

Description

struct Tinman.Core.Xml.XmlName

Represents an XML name, which must match the grammar rule 'name', see XmlDocument.FromSource.

Public / Constants

Invalid


public static readonly attribute Invalid → (XmlName)

The XmlName that represents the invalid name.

Invalid names have the string representation ? and are not parsable.

Public / Constructors

For


[Pure]
public static method For → (1)

source in : string

[not-null]
The source code.

returns → XmlName

The parsed XML name.

Parses the given XML name.

ValidatingException

If the syntax of source in is invalid.

Public / Attributes

Is​Invalid


public attribute IsInvalid → (get)

value : bool

true if this name is equal to Invalid,
false if not.

Returns whether this is the invalid name.

Name


public attribute Name → (get)

value : string

[not-empty]
The identifier.

Returns the identifier.