Working with XML and XML Schemas

Posted on 2005-03-30
Medium Priority
Last Modified: 2013-11-19
Hi, simple question, how do you validate an XML file against a Schema?

I wish to create a list of all XML files in a dierctory which validate against a schema

For Each File as FileInfo in New DirectoryInfo(filePath, "*.xml").GetFiles

  If ValidateXML(FileInfo.FilePath) Then lstDisplay.Items.Add(FileInfo.Name)

End For

Sub ValidateXML(filePath as string)
End Sub

Any ideas?

Thanks for you help,
Question by:zomby_dog
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

J_Mak earned 500 total points
ID: 13677978
Have a look at this link:


It should explain all that you need.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

770 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