• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Databases and XML

 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Greetings.

Now I come up with a proposal of pulling some data from the databases say oracle and constructing an XML out of that.

Then match an XSL with that XML, on the fly, and format the view.

Any idea regarding the connectivities and other issues involved in this task will be highly appreciated.

Thanks in advance.

Cheers,
Swamy
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ppl

Got the answer for the generation of XML from DB Here

Is this the only solution available, is there no way using Java API or any thing like SAX, DOM, etc.

Well.....now i need the answer for matching an XSL, on the fly with the XML

Cheers,
Swamy
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oracle has some proprietary XML features you might want to look into.

Other than that, I'm afraid you have to do the conversion between a ResultSet and a DOM Document yourself.
 
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://coderanch.com/t/127005/XML/Generating-XML-SQL
 
reply
    Bookmark Topic Watch Topic
  • New Topic