You are here: Home » About » Technology » Connexions Markup Language » CNXML 0.5 » Changes from CNXML 0.4 to 0.5

Changes from CNXML 0.4 to 0.5

Changes from CNXML 0.4 to CNXML 0.5

This is an overview list of changes, for a full description of what has changed, see the specification.

Overview

  • New DOCTYPE (0.4 -> 0.5)
  • New namespace http://cnx.rice.edu/cnxml. Note lack of version number
  • New top-level tag: module -> document
  • Tag groupings: structural, inline, special
  • New supplemental materials tags: glossary and bib:file

New tags

  • document replaces module
  • code replaces codeline and codeblock. (use type attribute to distinguish between inline and block code)
  • foreign for foreign language words and phrases
  • quote for quotations
    • type attribute can be inline or block
    • src optional attribute to link to source
  • seealso can appear as the last tag of definition to list related words
    • can contain one or more term elements
  • param tag for passing parameters to media objects (applets for example)
    • name attribute specifies name of parameter
    • value attribute gives value of parameter
  • glossary tag for appending a glossary to the module
    • can contain one or more definition tags

Tag changes

  • Many changes in allowed children to simplify rules (see specification)
  • New optional src attribute on term and cite to provide links
  • module attribute on cnxn changed to document
  • media tags can take param tags and may be nested

Bibliography

  • Use of tags in bibtexml namespace
  • bib:file may appear after glossary
    • can contain one or more bib:entry tags