Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need multiple XML file checker

Status
Not open for further replies.

AndyH1

Programmer
Jan 11, 2004
350
GB
As part of a project I have automatically generated a set of about 10K XML files. Some of these files may contain slight errors due to whitespace in the description tag and I need to find a tool which can run through the entire 10K of files and check them all, giving a list of those that fail as valid xml.

Can anyone suggest a tool (preferable cheap since this is a one off go) that I can use to carry out this validation.

Thanks in advance
Andy
 
Are they really not valid XML? Or are they just not formed 'correctly' for some user? If the latter, you could probably code up something relatively simple in XSLT, which is pretty much free, and run it from the command line. One such tool, which I think can be downloaded ready to go on many platforms, is xsltproc.

Tom Morrison
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top