view etc/schema/xhtml-struct.rnc @ 108865:9d8fb76d6857

Split smie-indent-calculate into more manageable chunks. * lisp/emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent) (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword) (smie-indent-close, smie-indent-comment-continue, smie-indent-bob) (smie-indent-exps): Extract from smie-indent-calculate. (smie-indent-functions): New var. (smie-indent-functions): Use them.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 02 Jun 2010 21:48:10 -0400
parents 38f93f3d00a2
children
line wrap: on
line source

# Structure Module

start = html
title = element title { title.attlist, text }
title.attlist = I18n.attrib
head = element head { head.attlist, head.content }
head.attlist = I18n.attrib, profile.attlist
head.content = title
profile.attlist = attribute profile { URI.datatype }?
body = element body { body.attlist, Block.model }
body.attlist = Common.attrib
html = element html { html.attlist, head, body }
html.attlist = XHTML.version.attrib, I18n.attrib
XHTML.version.attrib = attribute version { FPI.datatype }?