$instance | The document referenced as xs:anyURI, a node (element or returned by fn:doc()) or as a Java file object. |
$grammar | The grammar document as node (element of returned by fn:doc()), xs:anyURI, returned by util:binary-doc() or as a Java file object. |