xhtml-btable.rnc 975 B

1234567891011121314151617181920212223242526272829
  1. # Basic Tables Module
  2. table = element table { table.attlist, caption?, tr+ }
  3. table.attlist =
  4. Common.attrib,
  5. attribute summary { Text.datatype }?
  6. caption = element caption { caption.attlist, Inline.model }
  7. caption.attlist = Common.attrib
  8. tr = element tr { tr.attlist, (th | td)+ }
  9. tr.attlist = Common.attrib, CellHAlign.attrib, CellVAlign.attrib
  10. th = element th { th.attlist, Flow.model }
  11. th.attlist = Cell.attrib
  12. td = element td { td.attlist, Flow.model }
  13. td.attlist = Cell.attrib
  14. Cell.attrib =
  15. Common.attrib,
  16. attribute abbr { Text.datatype }?,
  17. attribute axis { text }?,
  18. attribute headers { IDREFS.datatype }?,
  19. scope.attrib,
  20. attribute rowspan { Number.datatype }?,
  21. attribute colspan { Number.datatype }?,
  22. CellHAlign.attrib,
  23. CellVAlign.attrib
  24. CellHAlign.attrib = attribute align { "left" | "center" | "right" }?
  25. CellVAlign.attrib = attribute valign { "top" | "middle" | "bottom" }?
  26. scope.attrib = attribute scope { "row" | "col" }?
  27. Block.class |= table