XmlSpace

Description

sealed class Tinman.Core.Xml.XmlSpace

Derived from

XmlNode abstract

Represents a sequence of whitespace characters at the top-level scope of an XML document, i.e. outside of XML elements.

XmlText objects may appear at these places in an XML document:

Public / Constants

Line​Feed


[ShutdownSurvive]
public static readonly attribute LineFeed → (XmlSpace)

An XmlSpace node for a single line-break (see LineEnding.LF).

Tabulator


[ShutdownSurvive]
public static readonly attribute Tabulator → (XmlSpace)

An XmlSpace node for a single tabulator character.

Whitespace


[ShutdownSurvive]
public static readonly attribute Whitespace → (XmlSpace)

An XmlSpace node for a single whitespace character.

Public / Constructors

For


[Pure]
public static method For → (1)

space in : string

[not-null]
See Space. If it does not match the grammar rule 'ws1', LineFeed will be returned instead.

returns → XmlSpace

The instance of XmlSpace.

Returns an instance of XmlSpace for the given space in.

Public / Attributes

Space


[Constant]
public attribute Space → (get)

value : string

[not-null]
The whitespace character sequence.

Returns the whitespace character sequence.

This character sequence matches the grammar rule 'ws1', see XmlDocument.FromSource.