view etc/schema/xhtml-bform.rnc @ 102570:e5ee527bf579

(Mail Format): Fix typo. Add index entry for mail-header-separator. (Mail Headers): Put info about initialization and changing in one place at the start. Update FCC section for mbox Rmail. Clarify From section, mention mail-setup-with-from. Clarify Reply-to section. Add Mail-followup-to and mail-mailing-lists. Clarify References section. (Mail Aliases): Update example, make less contentious. Update for name change of mail-interactive-insert-alias. (Mail Mode): Remove mention of `%' as a word separator. (Mail Sending): Mention mail-send-hook. Mention Mailclient. (Header Editing): Add reply-to, mail-reply-to, and mail-followup-to commands. Clarify FCC handling. In mail-complete, add reference to Mail Aliases section, and mention mail-complete-function. (Citing Mail): Mention mail-yank-ignored-headers and mail-citation-hook. (Mail Mode Misc): Clarify the mail-signature function. Add basic signature netiquette. Explain how the mail hooks work when continuing a composition. (Mail Amusements): Internationalize the spook section a bit. Remove the spook mail-setup-hook example, since it doesn't work well. Mention fortune-file. (Mail Methods): Mention read-mail-command.
author Glenn Morris <rgm@gnu.org>
date Sat, 14 Mar 2009 22:30:53 +0000
parents 9e48c9dc543f
children
line wrap: on
line source

# Simplified Forms Module

form =
  element form {
    form.attlist,
    # Don't use Block.model, because this gets redefined by the
    # legacy module.
    Block.class+
  }
form.attlist =
  Common.attrib,
  attribute action { URI.datatype },
  attribute method { "get" | "post" }?,
  attribute enctype { ContentType.datatype }?
label = element label { label.attlist, Inline.model }
label.attlist =
  Common.attrib,
  attribute for { IDREF.datatype }?,
  attribute accesskey { Character.datatype }?
input = element input { input.attlist }
input.attlist =
  Common.attrib,
  attribute type { InputType.class }?,
  attribute name { text }?,
  attribute value { text }?,
  attribute checked { "checked" }?,
  attribute size { text }?,
  attribute maxlength { Number.datatype }?,
  attribute src { URI.datatype }?,
  attribute accesskey { Character.datatype }?
InputType.class =
  "text"
  | "password"
  | "checkbox"
  | "radio"
  | "submit"
  | "reset"
  | "hidden"
select = element select { select.attlist, option+ }
select.attlist =
  Common.attrib,
  attribute name { text }?,
  attribute size { Number.datatype }?,
  attribute multiple { "multiple" }?
option =
  element option {
    Common.attrib,
    attribute selected { "selected" }?,
    attribute value { text }?,
    text
  }
textarea = element textarea { textarea.attlist }
textarea.attlist =
  Common.attrib,
  attribute name { text }?,
  attribute rows { Number.datatype },
  attribute cols { Number.datatype },
  attribute accesskey { Character.datatype }?,
  text
Form.class = form
Formctrl.class = input | label | select | textarea
Block.class |= Form.class
Inline.class |= Formctrl.class