def documentFunction(self, nargs): """Implement the document() XSLT function node-set document(object, node-set?)""" libxsltmod.xsltDocumentFunction(self._o, nargs)