0

How to read sql query from xml using java

2
  • You'll need to give more information if you want people to help you Commented Jul 21, 2010 at 12:41
  • Give more specific details, probably your xml format and the java code which you have done so far helps. Commented Jul 21, 2010 at 12:43

2 Answers 2

1

Use a XML parser. Here's a tutorial.

Sign up to request clarification or add additional context in comments.

Comments

0

If you have some sql queries already in xml file and trying to read them, you can use any SAX/DOM parser. PS: you may want to enclose the sql queries in XML file in a CDATA

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.