imported xml project files

git-svn-id: svn://anubis/gvsu@119 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
josh 2008-06-07 21:32:34 +00:00
parent 5a69b2355e
commit b9bb5cce1c
3 changed files with 103 additions and 0 deletions

3
cs675/dom_sax/Makefile Normal file
View File

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

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="dailyplanner">
<xs:complexType>
<xs:sequence>
<xs:element name="sunday">
<xs:complexType>
<xs:sequence>
<xs:element name="am" type="xs:string"/>
<xs:element name="pm" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="monday">
<xs:complexType>
<xs:sequence>
<xs:element name="am" type="xs:string"/>
<xs:element name="pm" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tuesday">
<xs:complexType>
<xs:sequence>
<xs:element name="am" type="xs:string"/>
<xs:element name="pm" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="wednesday">
<xs:complexType>
<xs:sequence>
<xs:element name="am" type="xs:string"/>
<xs:element name="pm" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="thursday">
<xs:complexType>
<xs:sequence>
<xs:element name="am" type="xs:string"/>
<xs:element name="pm" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="friday">
<xs:complexType>
<xs:sequence>
<xs:element name="am" type="xs:string"/>
<xs:element name="pm" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="saturday">
<xs:complexType>
<xs:sequence>
<xs:element name="am" type="xs:string"/>
<xs:element name="pm" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

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>