summaryrefslogtreecommitdiffstats
path: root/xml/api/item-1.1.rng
diff options
context:
space:
mode:
Diffstat (limited to 'xml/api/item-1.1.rng')
-rw-r--r--xml/api/item-1.1.rng19
1 files changed, 19 insertions, 0 deletions
diff --git a/xml/api/item-1.1.rng b/xml/api/item-1.1.rng
new file mode 100644
index 0000000..1a065ca
--- /dev/null
+++ b/xml/api/item-1.1.rng
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+ <!-- list_item() method -->
+ <start>
+ <ref name="element-item"/>
+ </start>
+
+ <define name="element-item">
+ <element name="item">
+ <optional>
+ <attribute name="name"> <text /> </attribute>
+ </optional>
+ <data type="string"/>
+ </element>
+ </define>
+
+</grammar>