Function: xmltok-valid-char-p
xmltok-valid-char-p is a byte-compiled function defined in
xmltok.el.gz.
Signature
(xmltok-valid-char-p N)
Documentation
Return non-nil if N is the Unicode code of a valid XML character.
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/xmltok.el.gz
(defun xmltok-valid-char-p (n)
"Return non-nil if N is the Unicode code of a valid XML character."
(cond ((< n #x20) (memq n '(#xA #xD #x9)))
((< n #xD800) t)
((< n #xE000) nil)
((< n #xFFFE) t)
(t (and (> n #xFFFF)
(< n #x110000)))))