W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

inline schema validation

From: Aram Hakobyan <aram_hakobyan@hotmail.com>
Date: Tue, 19 Mar 2002 19:38:27 -0500 (EST)
To: xmlschema-dev@w3.org
Message-ID: <F1448NMKsl6cq5s6i8n0000584f@hotmail.com>
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 GMT

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