1<?xml version="1.0" encoding="iso-8859-1"?>
2<!-- Edit Module -->
3<grammar xmlns="http://relaxng.org/ns/structure/1.0">
4
5<define name="del">
6  <element name="del">
7    <ref name="del.attlist"/>
8    <ref name="Inline.model"/>
9  </element>
10</define>
11
12<define name="del.attlist">
13  <ref name="Edit.attrib"/>
14</define>
15
16<define name="ins">
17  <element name="ins">
18    <ref name="ins.attlist"/>
19    <ref name="Inline.model"/>
20  </element>
21</define>
22
23<define name="ins.attlist">
24  <ref name="Edit.attrib"/>
25</define>
26
27<define name="Edit.attrib">
28  <optional>
29    <attribute name="cite">
30      <ref name="URI.datatype"/>
31    </attribute>
32  </optional>
33  <optional>
34    <attribute name="datetime">
35      <ref name="Datetime.datatype"/>
36    </attribute>
37  </optional>
38</define>
39
40<define name="Edit.class">
41  <choice>
42    <ref name="del"/>
43    <ref name="ins"/>
44  </choice>
45</define>
46
47<define name="Inline.class" combine="choice">
48  <ref name="Edit.class"/>
49</define>
50
51<define name="Block.class" combine="choice">
52  <ref name="Edit.class"/>
53</define>
54
55</grammar>