DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Converting database results into xml

  1. #1
    Java_XML Guest

    Converting database results into xml


    Hi,

    I want to generate xml on the fly from database query result using Java.
    for e.g. when i pass in query ; select * from emp; it returns result in ResultSet
    and i want to create a xml from ResultSet result. Does anyone know how to
    achieve this using Java?

    Any pointers or help would be appreciated.

    Thanks,

  2. #2
    MarkN Guest

    Re: Converting database results into xml


    Google is a wonderful thing.

    http://www.dannyayers.com/old/code/



    "Java_XML" <javaxmlsoapdev@yaho.com> wrote:
    >
    >Hi,
    >
    >I want to generate xml on the fly from database query result using Java.
    >for e.g. when i pass in query ; select * from emp; it returns result in

    ResultSet
    >and i want to create a xml from ResultSet result. Does anyone know how to
    >achieve this using Java?
    >
    >Any pointers or help would be appreciated.
    >
    >Thanks,



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center