xml validating

How to validate each text contained in the xml file against the xsd
file i.e the data type each text should be correct as well as to check
each required attribute is present or not. and throw what type of validation error is occured in validation . can anybody suggest me the
solution

plz send me the solution very urgent

my mail address isphanikumar@axsys-healthtech.com

[507 byte] By [blastthexml] at [2008-2-3]
# 1

Here's an example from .NET 1.1. The 2.0 solution should be very similar.

http://msdn2.microsoft.com/En-US/library/aa735757(VS.71).aspx

EvanH at 2007-9-28 > top of Msdn Tech,Office Live Development,Microsoft SDK for Open XML Formats...
# 2
it is not reaching my requirement plz see the question one more time
blastthexml at 2007-9-28 > top of Msdn Tech,Office Live Development,Microsoft SDK for Open XML Formats...