OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Schema / XML document parsing

[ Lists Home | Date Index | Thread Index ]
  • To: "Dean James Greenwood" <D.Greenwood@cs.ucl.ac.uk>,"xml-dev" <xml-dev@lists.xml.org>
  • Subject: RE: [xml-dev] Schema / XML document parsing
  • From: "Dare Obasanjo" <dareo@microsoft.com>
  • Date: Fri, 19 Apr 2002 09:41:32 -0700
  • Thread-index: AcHnpZ/vPzRsHC1jRGqv2A6CRLI1mQAGvNbL
  • Thread-topic: [xml-dev] Schema / XML document parsing

The XmlValidatingReader class and the XmlSchemaCollection in the .NET Framework can perform the tasks you require. Links to samples are below 
 
http://samples.gotdotnet.com/quickstart/howto/doc/Xml/ValidationReadingXML.aspx 
http://samples.gotdotnet.com/quickstart/howto/doc/Xml/SchemaCollection.aspx 
 
There is  also an XML Schema Object Model (SOM) which is used for manipulating schema components programmatically. Links to sample usage are at 
 
http://samples.gotdotnet.com/quickstart/howto/doc/Xml/XmlSchemaObjectModel.aspx

	-----Original Message----- 
	From: Dean James Greenwood [mailto:D.Greenwood@cs.ucl.ac.uk] 
	Sent: Fri 4/19/2002 6:30 AM 
	To: xml-dev 
	Cc: 
	Subject: [xml-dev] Schema / XML document parsing
	
	

	Hello,
	
	Does anyone know of a class/tool which accepts a XML Document and the
	corresponding Schema for that document and validates the document
	against the schema (instance against the type)?
	
	--
	Kind regards,
	       Dean
	
	Dean James Greenwood BSc
	DCNDS MSc
	University College London                         
	mailto:dean@deangreenwood.com
	http://www.deangreenwood.com
	
	
	
	-----------------------------------------------------------------
	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>
	
	





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS