By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Help please about Converting XML back to Resultset....

jeffbroodwar
100+
P: 118
Hi everyone ! i need help on how can i convert xml data to resultset.. actually i was able to convert ResultSet to XML (using MySQL database) the problem is how can i make my client program consume this xml file... please someone help me with this.... if possible also help me do the research.. i need to finish this before next week. no worries, it'll pay you good. knowing that only few people knows how to do this. it an achievement to be one of 'em. please take a look at the xml file : Format#1.xml

<?xml version="1.0" encoding="UTF-8" ?>
- <Results>
- <Row>
<id>1</id>
<name>Jeff</name>
</Row>
- <Row>
<id>2</id>
<name>Cherry</name>
</Row>
</Results>


note: i didn't use JDOM to do this.. i used the tutorial in developer.com. please help me do this.. thank you all ! ^^

Regards,
Jeff
Nov 28 '06 #1
Share this Question
Share on Google+
2 Replies


10K+
P: 13,264
Hi everyone ! i need help on how can i convert xml data to resultset.. actually i was able to convert ResultSet to XML (using MySQL database) the problem is how can i make my client program consume this xml file... please someone help me with this.... if possible also help me do the research.. i need to finish this before next week. no worries, it'll pay you good. knowing that only few people knows how to do this. it an achievement to be one of 'em. please take a look at the xml file : Format#1.xml

<?xml version="1.0" encoding="UTF-8" ?>
- <Results>
- <Row>
<id>1</id>
<name>Jeff</name>
</Row>
- <Row>
<id>2</id>
<name>Cherry</name>
</Row>
</Results>


note: i didn't use JDOM to do this.. i used the tutorial in developer.com. please help me do this.. thank you all ! ^^

Regards,
Jeff
This question is not making much sense to me. From the specs

public interface ResultSetA table of data representing a database result set, which is usually generated by executing a statement that queries the database.
What do you mean by convert xml data to resultset?
Nov 28 '06 #2

jeffbroodwar
100+
P: 118
i hope this will clear things up. what i need to do is to convert the xml file that i created in java back to resultset object so that the client will be able to consume xml files. i'm currently working on java webservices. the scenario goes like this :

my server creates xml file format of database then will pass this data to client. the client then converts it back to resultset format so that it can be used to present data in the client side.
Nov 29 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.