<?xml encoding="US-ASCII"?>
<!-- DTD for a an XML document that stores Customer names and numbers--> <!ELEMENT customer(name, cust-num)> <!ELEMENT name(#PCDATA)> <!ELEMENT cust-num(#PCDATA)> |
<?xml version="1.0"?>
<!-- XML Schema document for a an XML document that stores Customer names and numbers--> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> <xsd:element name="customer" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="CustNum" type="xsd:int"/> <xsd:element name="Name" type="xsd:string"/ </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> |