[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

XML document parsing

Posted on 2014-08-09
4
Medium Priority
?
132 Views
Last Modified: 2014-08-14
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?
0
Comment
Question by:Idarac
  • 2
  • 2
4 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40250798
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
 
LVL 1

Author Comment

by:Idarac
ID: 40252335
Do you have any .net code doing the validation?
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 40252345
0
 
LVL 1

Author Closing Comment

by:Idarac
ID: 40261365
Excellent thank you
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month19 days, 5 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question