relaxng.web-components.rnc Maven / Gradle / Ivy
The newest version!
datatypes w = "http://whattf.org/datatype-draft"
# #####################################################################
## RELAX NG Schema for HTML 5: Web Components
# #####################################################################
## Templates:
template.elem =
element template { template.inner & template.attrs }
template.attrs =
( common.attrs )
template.inner =
( common.inner.metadata
| common.inner.flow
| ol.inner
| ul.inner
| dl.inner
| figure.inner
| ruby.inner
| object.inner.flow
| object.inner.phrasing
| video.inner.flow
| video.inner.phrasing
| audio.inner.flow
| audio.inner.phrasing
| table.inner
| colgroup.inner
| thead.inner
| tbody.inner
| tfoot.inner
| tr.inner
| fieldset.inner
| select.inner
| details.inner
| menu.popup.inner
)
common.elem.metadata |= template.elem
common.elem.phrasing |= template.elem
common.elem.script-supporting |= template.elem
# also allow