view etc/schema/xhtml-frames.rnc @ 109192:95b466c28f77

Merge from mainline.
author Katsumi Yamaoka <katsumi@flagship2>
date Thu, 13 May 2010 12:10:13 +0000
parents 38f93f3d00a2
children
line wrap: on
line source

# Frames Module

include "xhtml-struct.rnc" {
  html = element html { html.attlist, head, frameset }
}
frameset =
  element frameset {
    frameset.attlist,
    ((frameset | frame)+ & noframes?)
  }
frameset.attlist =
  Core.attrib,
  attribute cols { MultiLength.datatype }?,
  attribute rows { MultiLength.datatype }?
frame = element frame { frame.attlist }
frame.attlist =
  Core.attrib,
  attribute longdesc { URI.datatype }?,
  attribute src { URI.datatype }?,
  attribute frameborder { "1" | "0" }?,
  attribute marginwidth { Pixels.datatype }?,
  attribute marginheight { Pixels.datatype }?,
  attribute noresize { "noresize" }?,
  attribute scrolling { "yes" | "no" | "auto" }?
noframes = element noframes { noframes.attlist, body }
noframes.attlist = Common.attrib