The permanent id that needs to be resolved. The result of the resolving is passed to the first callback
Will be called with the result of resolving the permanent id, should return the remote document id part of the reference. The remote-document-id will be loaded and will be passed to the findTargetNode callback.
A callback that will be called to find the node(s) to which the reference points. This will be called with both the document node of the loaded document and the result of resolving the permanent id Note that it is possible to return one or more target nodes if your inclusionr references more than one node.