XmlNode

Description

abstract class Tinman.Core.Xml.XmlNode

Derived from

PsiNode abstract
IEquatable<XmlNode>
ICopyable<XmlNode>
ICodeOutput

Extended by

XmlChar sealed
XmlData sealed
XmlDocument sealed
XmlEntity sealed
XmlLiteral sealed
XmlNodeWithParent abstract
XmlSpace sealed
XmlText sealed

Abstract base class for XML document model nodes.

All XmlNode classes output parsable XML source code via the ICodeOutput interface, where object.ToString delegates to ICodeOutput.ToSourceCode1, using default parameters values.

Public / Attributes

Is​Document​Content


[Constant]
public virtual attribute IsDocumentContent → (get)

value : bool

true if this XML node (and all items of the same type) may appear in the document content,
false if it may not.

Can this XML node appear in the top-level document content?

Is​Document​Preamble


[Constant]
public virtual attribute IsDocumentPreamble → (get)

value : bool

true if this XML node (and all items of the same type) may appear in the document preamble,
false if it may not.

Can this XML node appear in the top-level document preamble?

Is​Element​Content


[Constant]
public virtual attribute IsElementContent → (get)

value : bool

true if this XML node (and all items of the same type) may appear in element content,
false if it may not..

Can this XML node appear in element content?

Is​Literal​Content


[Constant]
public virtual attribute IsLiteralContent → (get)

value : bool

true if this XML node (and all items of the same type) may appear in literal content,
false if it may not.

Can this XML node appear in literal content?