Validate XML files

Hi to everybody. Few weeks ago, I posted a message demanding help in choosing a DTD in XML for doing a program which has to validate an XML written according to this DTD.

Ok, I have chosen the XML language. It is RecipeML, a language that lets you write recipes in XML. So, now I have to develop a program that have to validate every recipe of RecipeML.

Of course, I'm going to make it in JAVA. My question is: can you tell me whats the best way to validate an XML file in java?. Do you know if there are libraries that handles XML in JAVA?

Thanks for your help. Bye!

Message was edited by:

Orwell83

[640 byte] By [Orwell83a] at [2007-11-27 11:58:12]
# 1

> Of course, I'm going to make it in JAVA. My question

> is: can you tell me whats the best way to validate

> an XML file in java?. Do you know if there are

> libraries that handles XML in JAVA?

Well, sure, Java has classes for parsing XML and so on built into it. I would suggest that "java XML tutorial" would be a good set of Google keywords.

DrClapa at 2007-7-29 19:18:18 > top of Java-index,Java Essentials,Java Programming...