RELAX NG Schema for Graphic Elments
Author: Hugh Field-Richards
Date: 2004-10-28T08:30
This is the RELAX NG schema for Graphic Elments.
Included file: common.rng
A graphic is accessed using the ref attribute and encloses the graphic title. The name attribute is a convenience to make a neutral method to reference the graphic in XSLT etc.
<define name="graphic.graphicElement"> <element name="graphic:graphic"> <ref name="common.commonAttributes"/> <attribute name="ref"/> <optional> <attribute name="name"/> </optional> <optional> <attribute name="width"/> </optional> <zeroOrMore> <choice> <ref name="text.forcedLine"/> <ref name="text.emphElement"/> <ref name="text.codeElement"/> <ref name="text.whoElement"/> <ref name="text.foreignWordElement"/> <ref name="text.abbrevElement"/> <ref name="text.noteElement"/> <ref name="link.linkElement"/> <text/> </choice> </zeroOrMore> </element> </define>