xml, dtd y xsd
[curso-xml.git] / note.xsd
1 <?xml version="1.0"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 targetNamespace="http://www.w3schools.com"
4 xmlns="http://www.w3schools.com"
5 elementFormDefault="qualified">
6
7 <xs:element name="note">
8     <xs:complexType>
9       <xs:sequence>
10         <xs:element name="to" type="xs:string"/>
11         <xs:element name="from" type="xs:string"/>
12         <xs:element name="heading" type="xs:string"/>
13         <xs:element name="body" type="xs:string"/>
14       </xs:sequence>
15     </xs:complexType>
16 </xs:element>
17
18 </xs:schema>