XML document parsing

I have been tasked with parsing an XML file.

I have been given 2 files the XML file and an XSD file.

Inside the XML file if references the XSD file.

I want to use the XML document parser.

My question is:  What role does the XSD file play when doing the parsing?
LVL 1
IdaracAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

käµfm³d 👽Commented:
An XSD is an XML schema definition document, and it defines the structure that XML documents referencing it should follow. You can use the XSD to validate that the XML does indeed follow the expected structure as defined by the XSD. The XML parsing classes within .NET do have the ability to validate the XML against the XSD.
0
IdaracAuthor Commented:
Do you have any .net code doing the validation?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IdaracAuthor Commented:
Excellent thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.