[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: IE and XML schema
Mike, I am sorry I should describe my problem more precisely. I know how to define schema and how to associate schema with XML document (xml file). The problem that I want user to open XML document in IE, no VB no JavaScript. And I want IE to validate XML document against schema, not just to perform well-formedness check. After it was validated associated default stylesheet will be applied and user will see it as HTML in the browser. I am able to do that. Everything works fine just browser doesn't use XML Schema to validate XML document. Thanks Tomas -----Original Message----- From: 511251@m... [mailto:511251@m...] Sent: December 9, 2002 12:47 PM To: chiusano_joseph@b...; tomas.cirip@t...; xml-dev@l... Subject: RE: IE and XML schema Quick correction: <Change> the location and namespaces (if applicable) of the schema <Change/> <To> the location and target namespace (if applicable) of the schema </To> Original Message: ----------------- From: 511251@m... 511251@m... Date: Mon, 9 Dec 2002 12:45:54 -0500 To: tomas.cirip@t..., xml-dev@l... Subject: RE: IE and XML schema Cirip, I'll address the XML document/schema portion - the location and namespaces (if applicable) of the schema would need to be specified at the top of the XML file. See the "schemaLocation" and "noNamespaceSchemaLocation" attributes in the W3C Schema specifications. Please note that the schema location is only a hint - a schema processor is not required by the specification to honor it (so check the implementation - but I would expect MSXML v4 to honor it). Joe Chiusano Booz | Allen | Hamilton Original Message: ----------------- From: Cirip Tomas tomas.cirip@t... Date: Mon, 9 Dec 2002 12:01:03 -0500 To: xml-dev@l... Subject: IE and XML schema Hi all, is there any way to tell browser to validate XML document against XML schema when it is loaded. I have IE 5.5 and MSXML v4 installed. Thank you Tomas ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org> The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager: <http://lists.xml.org/ob/adm.pl> -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|