summaryrefslogtreecommitdiffstats
path: root/xml/api/node-attrs-2.8.rng
diff options
context:
space:
mode:
Diffstat (limited to 'xml/api/node-attrs-2.8.rng')
-rw-r--r--xml/api/node-attrs-2.8.rng24
1 files changed, 24 insertions, 0 deletions
diff --git a/xml/api/node-attrs-2.8.rng b/xml/api/node-attrs-2.8.rng
new file mode 100644
index 0000000..754ddb9
--- /dev/null
+++ b/xml/api/node-attrs-2.8.rng
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+ <start>
+ <ref name="element-node-with-attributes"/>
+ </start>
+
+ <define name="element-node-with-attributes">
+ <element name="node">
+ <attribute name="name"> <text /> </attribute>
+ <zeroOrMore>
+ <element name="attribute">
+ <attribute name="name"> <text /> </attribute>
+ <attribute name="value"> <text /> </attribute>
+ <optional>
+ <attribute name="expected"> <data type="integer" /> </attribute>
+ </optional>
+ </element>
+ </zeroOrMore>
+ </element>
+ </define>
+
+</grammar>