- From: John Haber <jhaber@haberarts.com>
- Date: Tue, 5 Aug 2003 09:34:12 -0400
- To: "Paul Warren" <pdw@decisionsoft.com>
- Cc: <xmlschema-dev@w3.org>
>>Could you repost the instance and schema, as they are now? Sure, Paul, and my thanks. Here's how the test schema file begins, where I'll stop in the middle of the first child element. This file is saved as artml.xsd: <?xml version="1.0" encoding="ISO-8859-1"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com" xmlns="http://www.w3schools.com" elementFormDefault="qualified"> <xsd:element name="reviews"> <xsd:complexType> <xsd:sequence maxOccurs="unbounded"> <xsd:element ref="review" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="review"> <xsd:complexType> <xsd:sequence> <xsd:element ref="blurb" /> <xsd:element ref="exhibition" /> <xsd:element ref="essay" /> <xsd:element ref="images" /> And here's how the first test xml file begins, stopping my cut-and-paste at around the same point to save you reading: <?xml version="1.0" encoding="ISO-8859-1"?> <reviews xmlns="http://www.w3schools.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="artml.xsd"> <review author="John Haber" completed="2003-07-30"> <blurb> The files are in the same directory on my hard drive. Thanks again, John
Received on Tuesday, 5 August 2003 09:33:56 UTC