summaryrefslogtreecommitdiffstats
path: root/libxml2/test/relaxng/table.rng
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/relaxng/table.rng')
-rw-r--r--libxml2/test/relaxng/table.rng21
1 files changed, 21 insertions, 0 deletions
diff --git a/libxml2/test/relaxng/table.rng b/libxml2/test/relaxng/table.rng
new file mode 100644
index 0000000..c14e603
--- /dev/null
+++ b/libxml2/test/relaxng/table.rng
@@ -0,0 +1,21 @@
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="cell.content">
+ <notAllowed/>
+</define>
+
+<start>
+ <element name="table">
+ <oneOrMore>
+ <element name="tr">
+ <oneOrMore>
+ <element name="td">
+ <ref name="cell.content"/>
+ </element>
+ </oneOrMore>
+ </element>
+ </oneOrMore>
+ </element>
+</start>
+
+</grammar>