
Hi, I have a string containing data in XML format. I have to Validate this xml data. Is there any method in java that allows strings as input to validate xml?

Please visit the following link:

Try using the free online tool here; http://www.liquid-technologies.com/FreeXmlTools/FreeXmlValidator.aspx
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.