view etc/schema/xhtml-frames.rnc @ 110008:f27a344fc7dc

Adjust type declaration.
author Vinicius Jose Latorre <viniciusjl@ig.com.br
date Fri, 27 Aug 2010 00:19:35 -0300
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