pschema - <?xml version="1.0"...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<?xml version="1.0" encoding="UTF-8" ?> <!-- New Perspectives on XML Tutorial 4 Tutorial Case Patient list schema Author: Israel Crawford Date: 7/27/2011 Filename: pschema.xsd Supporting Files: --> <xs:schema xmlns:xs=""> < <xs:element name="patients"> <xs:complexType> <xs:sequence> <xs:element ref="patient" minOccurs="1" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> < <xs:element name="patient"> <xs:complexType> <xs:sequence> <xs:element ref="lastName" /> <xs:element ref="firstName"/> <xs:element ref="dateOfBirth"/> <xs:element ref="age"/> <xs:element ref="stage"/> <xs:element ref="comment" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="performance"/> </xs:sequence> <xs:attribute ref="patID" use="required" /> <xs:attribute ref="onStudy" use="required" /> </xs:complexType> </xs:element> < <xs:element name="lastName" type="xs:string" /> <xs:element name="firstName" type="xs:string"/> <xs:element name="dateOfBirth" type="xs:date" />
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/10/2011 for the course PRG 111 taught by Professor Richards during the Spring '11 term at Everest University.

Page1 / 2

pschema - &lt;?xml version=&quot;1.0&quot;...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online