zomby_dog
asked on
Working with XML and XML Schemas
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
E.g.
For Each File as FileInfo in New DirectoryInfo(filePath, "*.xml").GetFiles
If ValidateXML(FileInfo.FileP ath) Then lstDisplay.Items.Add(FileI nfo.Name)
End For
Sub ValidateXML(filePath as string)
???????????
End Sub
Any ideas?
Thanks for you help,
Dan
I wish to create a list of all XML files in a dierctory which validate against a schema
E.g.
For Each File as FileInfo in New DirectoryInfo(filePath, "*.xml").GetFiles
If ValidateXML(FileInfo.FileP
End For
Sub ValidateXML(filePath as string)
???????????
End Sub
Any ideas?
Thanks for you help,
Dan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.