| $doc | a node in the document for which revisions should be retrieved. |
| $doc | a node in the document for which a revision should be retrieved. |
| $rev | the revision which should be restored |
| $doc | a node in the document for which the diff should be generated |
| $rev | a valid revision number |
| $doc | a node in the document which should be annotated |
| $rev | the revision whose changes will be annotated |
| $doc | a node in the document which should be checked |
| $base | the base revision as provided in the v:revision attribute of the document which was retrieved from the db. |
| $key | the key as provided in the v:key attribute of the document which was retrieved from the db. |
| $doc | an arbitrary node in a document |