W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2003

Problem solved. Re: XSL and XSD

From: Simon Paton <smpaton@mweb.co.za>
Date: Thu, 15 May 2003 19:43:07 +0200
Message-ID: <001201c31b09$73c91740$e5f003c4@oemcomputer>
To: <xmlschema-dev@w3.org>
Hi everyone,

I tried doing what was suggested but the XML was not being validated by the XSD file. The XML file was being styled by the XSL file, but not completely valid.

So this is what I did.
Inside the Schema file:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">

Inside the XMLfile:

<FamilyTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file.xsd">

so there you have it.......use it...don't use it??

From Simon.
2003/05/15
Received on Monday, 19 May 2003 13:23:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:37 GMT