XmlInstruction

Description

sealed class Tinman.Core.Xml.XmlInstruction

Derived from

XmlNodeWithParent abstract

Represents a processing instruction in an XML document:

<?target source?>

Public / Constructors

Xml​Instruction


public constructor XmlInstruction → (2)

target in : XmlName

See Target.

source opt : string = null

See Source. Leading whitespace characters will be ignored, Starting at the first occurrence of '?>', all remaining characters will be ignored.

Creates a new instance of XmlInstruction.

Public / Attributes

Source


[Constant]
public attribute Source → (get)

value : string

The source part. Will be null if not present. Otherwise it will be non-empty.

Returns the source part of the processing instruction.

The syntax and semantic of a processing instruction source is not defined by XML and is provided by the processing application. The source never contains the '?>' token.

Target


[Constant]
public attribute Target → (get)

value : XmlName

The target part.

Returns the target part of the processing instruction.

The syntax and semantic of a processing instruction target is not defined by XML and is provided by the processing application.