schema with a validating sample document

git-svn-id: svn://anubis/gvsu@118 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
josh 2008-06-07 17:49:00 +00:00
parent d04881c598
commit 5a69b2355e
2 changed files with 33 additions and 1 deletions

View File

@ -1,3 +1,3 @@
all: all:
xmllint --schema dailyplanner-schema.xml test-schedule.xml xmllint --noout --schema dailyplanner-schema.xsd test-sched.xml

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<dailyplanner>
<sunday>
<am>Church</am>
<pm>Homework</pm>
</sunday>
<monday>
<am>Status meetings</am>
<pm>Class</pm>
</monday>
<tuesday>
<am>Sleep in late</am>
<pm>Date night</pm>
</tuesday>
<wednesday>
<am>On-site work</am>
<pm>Class</pm>
</wednesday>
<thursday>
<am>Sleep in late</am>
<pm>Homework</pm>
</thursday>
<friday>
<am>Get up early</am>
<pm>Go out and don't do homework</pm>
</friday>
<saturday>
<am>Sleep in</am>
<pm>Homework</pm>
</saturday>
</dailyplanner>