Connecting Tech Pros Worldwide Forums | Help | Site Map

JDBC resultset to XML

Member
 
Join Date: Mar 2007
Posts: 51
#1: Oct 10 '07
Hi All,

Is it possible to convert the JDBC resultset to XML format?

If it is possible can please help me as how I have to proceed in doing it in java?

Thanks in advance,
Chella

dmjpro's Avatar
Lives Here
 
Join Date: Jan 2007
Location: India (West-Bengal)
Posts: 2,451
#2: Oct 10 '07

re: JDBC resultset to XML


Quote:

Originally Posted by chella

Hi All,

Is it possible to convert the JDBC resultset to XML format?

If it is possible can please help me as how I have to proceed in doing it in java?

Thanks in advance,
Chella

You can do it using Simply using XML file specification and "File I/O".
You know XML buddy?
If you don't know then you need to have "Third Party Jar".
If you are using Oracle Application Server then use "OracleXMLQuery".

Debasis Jana
Member
 
Join Date: Mar 2007
Posts: 51
#3: Oct 10 '07

re: JDBC resultset to XML


Quote:

Originally Posted by dmjpro

You can do it using Simply using XML file specification and "File I/O".
You know XML buddy?
If you don't know then you need to have "Third Party Jar".
If you are using Oracle Application Server then use "OracleXMLQuery".

Debasis Jana

Thank you very much for the reply

After googling I found the following link...

http://www.developer.com/db/article.php/3329001

I have planned to proceed in the same way as given in the link. Is there any problem in doing it so?

Thanks in advance,
Chella.
dmjpro's Avatar
Lives Here
 
Join Date: Jan 2007
Location: India (West-Bengal)
Posts: 2,451
#4: Oct 10 '07

re: JDBC resultset to XML


Quote:

Originally Posted by chella

Thank you very much for the reply

After googling I found the following link...

http://www.developer.com/db/article.php/3329001

I have planned to proceed in the same way as given in the link. Is there any problem in doing it so?

Thanks in advance,
Chella.

Check it yourself buddy.
Come with another problem if you have it in future ...
But you should need that "Third Party Jar".
Happy to see that you find your solution.

Debasis Jana
Member
 
Join Date: Mar 2007
Posts: 51
#5: Oct 10 '07

re: JDBC resultset to XML


Quote:

Originally Posted by dmjpro

Check it yourself buddy.
Come with another problem if you have it in future ...
But you should need that "Third Party Jar".
Happy to see that you find your solution.

Debasis Jana


Hi,

I managed to obtain the XML file from the JDBC resultset. But I want to convert it into HTML through XSL.

I have the XML file in hand. Can you please suggest me the ways in converting the XML file to XSL and then to HTML?

Thanks in advance,
Chella
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#6: Oct 10 '07

re: JDBC resultset to XML


Did you talk to this member? Looks like they might be able to help.
dmjpro's Avatar
Lives Here
 
Join Date: Jan 2007
Location: India (West-Bengal)
Posts: 2,451
#7: Oct 10 '07

re: JDBC resultset to XML


Quote:

Originally Posted by chella

Hi,

I managed to obtain the XML file from the JDBC resultset. But I want to convert it into HTML through XSL.

I have the XML file in hand. Can you please suggest me the ways in converting the XML file to XSL and then to HTML?

Thanks in advance,
Chella

Well !
Good Idea ..........

Have a look at this

Debasis Jana
Reply