summaryrefslogtreecommitdiffstats
path: root/xml/api/any-element-2.30.rng
diff options
context:
space:
mode:
Diffstat (limited to 'xml/api/any-element-2.30.rng')
-rw-r--r--xml/api/any-element-2.30.rng25
1 files changed, 25 insertions, 0 deletions
diff --git a/xml/api/any-element-2.30.rng b/xml/api/any-element-2.30.rng
new file mode 100644
index 0000000..6d4b1d2
--- /dev/null
+++ b/xml/api/any-element-2.30.rng
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+ <!--
+ Generic element (from https://relaxng.org/tutorial-20011203.html#IDAFLZR)
+ -->
+ <start>
+ <ref name="element-any" />
+ </start>
+
+ <define name="element-any">
+ <element>
+ <anyName/>
+ <zeroOrMore>
+ <choice>
+ <attribute> <anyName/> <text/> </attribute>
+ <text/>
+ <ref name="element-any" />
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+
+</grammar>