Solved

retrive from database table and put in xml

Posted on 2007-04-09
2
214 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

636 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