user397943
user397943

Reputation: 1

How to read sql query from xml using java

How to read sql query from xml using java

Upvotes: 0

Views: 2657

Answers (2)

Teja Kantamneni
Teja Kantamneni

Reputation: 17472

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

Upvotes: 0

BalusC
BalusC

Reputation: 1108972

Use a XML parser. Here's a tutorial.

Upvotes: 1

Related Questions