On 1 Oct 2001, at 9:42, Vittorio wrote:

> I'm using perl and the DBI stuff to deal with Oracle databases on a
> LAN.
> 
> Now, I need to extract data from XML docs and put them in the
> databases.
> 
> I've read the book "Learning XML" by Erik T.Ray where XSLT, XPATH and
> XPOINTER are discussed and explained and had a look at CPAN site to
> find out more on the subject (XML stuff, expat, etc).
> 
> What I miss is a collection of examples perl of programs where I can
> understand what XML modules are actually required to fulfil my aim,
> how to use them,etc.

I found XML::Simple a good module to start and play with. If your XML 
documents are not too large and if you only need to read XML it may 
already be what you need. Using this module you end up having the 
complete document parsed into a nested perl data structure with at 
least three lines of code( well, and then it is up to you to map this 
to your database tables (but there are also modules for that))...

not exactly at your question for a collection, but

HTH

Bodo

Reply via email to