# echo-import-xhtml
#
# This file is part of the ECHO Schema. See the main file "echo.rnc".
default namespace xhtml = "http://www.w3.org/1999/xhtml"
Inline.model = echo.flexible.content # table:
; list:
Flow.model = echo.flexible.content # table: , | ; list: ,
echo.xhtml.extra = echo.pb | echo.cb
include "xhtml-basic-table.rnc"
xhtml.table = element table { table.attlist, caption?, (tr | echo.xhtml.extra)+ }
table.attlist &= echo.internal-link.attrib?
echo.float.class |= xhtml.table
echo.anchor.types |= "table"
include "xhtml-list.rnc"
xhtml.ul = element ul { ul.attlist, (li | echo.xhtml.extra)+ }
xhtml.ol = element ol { ol.attlist, (li | echo.xhtml.extra)+ }
xhtml.dl = element dl { dl.attlist, (dt | dd | echo.xhtml.extra)+ }
echo.float.class |= xhtml.ul | xhtml.ol | xhtml.dl
echo.anchor.types |= "ul" | "ol" | "dl"
include "xhtml-attribs.rnc"
Common.attrib &= echo.id.attrib?
include "xhtml-datatypes.rnc"
|