Function: rng-match-with-schema
rng-match-with-schema is a macro defined in rng-match.el.gz.
Signature
(rng-match-with-schema SCHEMA &rest BODY)
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/rng-match.el.gz
(defmacro rng-match-with-schema (schema &rest body)
(declare (indent 1) (debug t))
`(let ((rng-current-schema ,schema)
rng-match-state
rng-compile-table
rng-ipattern-table
rng-last-ipattern-index)
(rng-ipattern-maybe-init)
(rng-compile-maybe-init)
(setq rng-match-state (rng-compile rng-current-schema))
,@body))