Solved

retrive from database table and put in xml

Posted on 2007-04-09
2
213 Views
Last Modified: 2010-04-16
I have a few records in a table in oracle database. I want to retrived a set of numbers based on a query and then put each number in an xml file.

So bascially want to pick up data from teh database and ut it in the xml file. How can I do it ?
0
Comment
Question by:anup001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Suhas . earned 250 total points
ID: 18880346
for retriving from database, use DBI module,

http://search.cpan.org/~timb/DBI-1.54/DBI.pm

open an xml file in write mode, and dump the extracted data to that file.
0
 
LVL 11

Assisted Solution

by:Vivek Thangaswamy
Vivek Thangaswamy earned 250 total points
ID: 18881049
Hi

Ref this link
http://www.psoug.org/reference/xmlquery.html  this Oracle query will returns the data as XML

Using an Oracle View to store query results as an XML output
http://rustemsoft.com/oraxml.htm
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I'm using XML(xslt) - How to fix the BOM issue 5 31
SQL Stored Procedure Speed Improvements 6 55
change script to get csv file on the prompt 8 33
Scripting 4 37
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question