[Home] [By Thread] [By Date] [Recent Entries]

  • To: "Dean James Greenwood" <D.Greenwood@c...>,"xml-dev" <xml-dev@l...>
  • Subject: RE: Schema / XML document parsing
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Fri, 19 Apr 2002 09:41:32 -0700
  • Thread-index: AcHnpZ/vPzRsHC1jRGqv2A6CRLI1mQAGvNbL
  • Thread-topic: 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@c...] 
	Sent: Fri 4/19/2002 6:30 AM 
	To: xml-dev 
	Cc: 
	Subject:  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@d...
	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>
	
	


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member