mr.dunstan,
I have used DBIx::XML_RDB successfully at work, where we used Oracle. Unfortunately, i no longer work at that place, and they seized my computer before i could save anything.

What i can offer you is this - you are *this* close - the ??? is the name of the database you wish to use. I can't test this, but according to the docs for DBD::Oracle and the code for DBIx::XML_RDB, this should connect:

my $xmlout = new DBIx::XML_RDB("Oracle:$dbname",$user,$passwd); # this works for MySQL - i know, i know . . . but still . . . my $xmlout = new DBIx::XML_RDB(qw(database:host driver usr passwd));
Even in my DBIx::XML_RDB Tutorial, i mentioned that i had to play with the connection string to get it to work. Why? Because i think the author made a small mistake: he creates the connection string inside the module instead of just passing it off to the appropriate driver module verbatim:
$self->{dbh} = DBI->connect("dbi:$driver:". $self->{datasource}, $user +id, $password); #instead of simply $self->{dbh} = DBI->connect(@_); # should i offer a patch?

Keep playing, you'll get it. And when you do, please reply to this node with your answer so that others may benefit.

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--

In reply to (jeffa) Re: DBIx::XML_RDB and Oracle? by jeffa
in thread DBIx::XML_RDB and Oracle? by mr.dunstan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.