Type: Function

Get the document related to this node.

Contrary to Node's ownerDocument property, this will return the document itself if a document is passed.

Refer to blueprintQuery for more information on how to import and use this function.


  1. blueprint


    Type: Blueprint

    The blueprint in which to consider the nodes

  2. node


    Type: Node

    The node to evaluate


Type: Document

The documentNode related to this node