Table of Contents

Class DocumentTreeNode

Namespace
Manpuku.Edinet.Xbrl
Assembly
Manpuku.Edinet.Xbrl.dll

Represents a node in the document tree. A node corresponds to a loaded XML document and keeps references to related documents (schema refs, imports, linkbase refs, locs) as child nodes.

public class DocumentTreeNode
Inheritance
DocumentTreeNode
Inherited Members

Properties

Ancestors

Enumerates ancestor nodes from parent to the top.

public IEnumerable<DocumentTreeNode> Ancestors { get; }

Property Value

IEnumerable<DocumentTreeNode>

Children

Returns direct child nodes combined from SchemaRefs, Imports, LinkbaseRefs and Locs in that order.

public DocumentTreeNode[] Children { get; }

Property Value

DocumentTreeNode[]

Distance

Distance (depth) from the root. Root is0.

public int Distance { get; }

Property Value

int

Document

The loaded XDocument for this node.

public XDocument Document { get; }

Property Value

XDocument

Imports

Imported schema nodes.

public DocumentTreeNode[] Imports { get; }

Property Value

DocumentTreeNode[]

LinkbaseRefs

Linkbase reference nodes.

public DocumentTreeNode[] LinkbaseRefs { get; }

Property Value

DocumentTreeNode[]

Locs

Nodes corresponding to link:loc entries.

public DocumentTreeNode[] Locs { get; }

Property Value

DocumentTreeNode[]

NodeKind

The kind of document stored in this node.

public DocumentTreeNode.DocumentKind NodeKind { get; }

Property Value

DocumentTreeNode.DocumentKind

Parent

Parent node (null for root).

public DocumentTreeNode? Parent { get; }

Property Value

DocumentTreeNode

SchemaRefs

Nodes referenced via schemaRef / xsd:import etc. Empty array when unset.

public DocumentTreeNode[] SchemaRefs { get; }

Property Value

DocumentTreeNode[]

URI

The URI of the document represented by this node.

public Uri URI { get; }

Property Value

Uri