Function: rng-adjust-state-for-attribute
rng-adjust-state-for-attribute is a byte-compiled function defined in
rng-nxml.el.gz.
Signature
(rng-adjust-state-for-attribute LT-POS START)
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/rng-nxml.el.gz
(defun rng-adjust-state-for-attribute (lt-pos start)
(xmltok-save
(save-excursion
(goto-char lt-pos)
(when (memq (xmltok-forward)
'(start-tag
partial-start-tag
empty-element
partial-empty-element))
(when (< start (point))
(setq xmltok-namespace-attributes
(rng-prune-attribute-at start
xmltok-namespace-attributes))
(setq xmltok-attributes
(rng-prune-attribute-at start
xmltok-attributes)))
(let ((rng-parsing-for-state t)
(rng-dt-namespace-context-getter '(nxml-ns-get-context)))
(rng-process-start-tag 'stop)
(rng-find-undeclared-prefixes)
t)))))