summaryrefslogtreecommitdiff
path: root/ext/xmlreader/examples/relaxNG.rng
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2004-04-27 10:46:21 (GMT)
committerRob Richards <rrichards@php.net>2004-04-27 10:46:21 (GMT)
commit80fd6dcaa4eb5033194ef8140392d748c05c9c33 (patch)
tree7ca368f21b8b3eff9c9fcb5fe868d211c54f75bf /ext/xmlreader/examples/relaxNG.rng
parent1f22d848e98e66939b8aa765892f9f9b8cd4034c (diff)
downloadphp-80fd6dcaa4eb5033194ef8140392d748c05c9c33.tar.gz
add relaxNG support
set xml base directory so it is consistant add validation examples
Diffstat (limited to 'ext/xmlreader/examples/relaxNG.rng')
-rw-r--r--ext/xmlreader/examples/relaxNG.rng11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/xmlreader/examples/relaxNG.rng b/ext/xmlreader/examples/relaxNG.rng
new file mode 100644
index 0000000..f4357e0
--- /dev/null
+++ b/ext/xmlreader/examples/relaxNG.rng
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0"
+ datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+
+<include href="relaxNG2.rng">
+<define name="TEI.prose"><ref name="INCLUDE"/></define>
+</include>
+</grammar>
+
+
+