#| -*-Scheme-*-
-$Id: xhtml.scm,v 1.1 2004/07/12 19:05:17 cph Exp $
+$Id: xhtml.scm,v 1.2 2004/07/12 19:08:32 cph Exp $
Copyright 2002,2003,2004 Massachusetts Institute of Technology
(define html-iri
(make-xml-namespace-iri "http://www.w3.org/1999/xhtml"))
+(define (html-element? object)
+ (and (xml-element? object)
+ (xml-name-iri=? (xml-element-name object) html-iri)))
+
(define-syntax define-standard-element
(sc-macro-transformer
(lambda (form environment)
#| -*-Scheme-*-
-$Id: xml.pkg,v 1.42 2004/07/12 19:05:36 cph Exp $
+$Id: xml.pkg,v 1.43 2004/07/12 19:08:36 cph Exp $
Copyright 2001,2002,2003,2004 Massachusetts Institute of Technology
(export ()
html-attrs
html-dtd
+ html-element?
html-external-dtd
html-iri
html:a