XML Database (MOSC)

MOSC Banner

How do you Generate XML file from 2 oracle tables?

edited Sep 28, 2010 1:58AM in XML Database (MOSC) 1 commentAnswered
 Hello,

   We are trying to create a PL/SQL procedure that will   get data from a headers and details table.

   Think of it as     Dept (header)  table   and EMP  (details) table.

   We need an xml file  that   will list  all  Employees  under  each department.  Basically it will list the Dept, then all its employees,  then another Dept with all its employees.

  We have created from a single table  an  XML file,  using  XMLELEMENT, XMLAGG, and XMLFOREST.

  Any help is appreciated.

  We are on 10g database.

   jim borror

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center