inline schema validation

I have an xml file with xml schema inside (in the same
file) like this:

<?xml version="1.0" encoding="UTF-8" ?>
<abc>
<xsd:schema targetNamespace="http://tempuri.org"
xmlns="http://tempuri.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Data"
type="xsd:integer"></xsd:element>
</xsd:schema>
<Data xmlns="http://tempuri.org">55</Data>
</abc>


Can anybody provide a sample of verification of this file using MSXML4
(like load()...validate()). All the samples I know presume
the schema is in a separate file.

Thanks,

Aram




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

Received on Thursday, 21 March 2002 12:03:22 UTC