Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How to format this xml output?

by glasswalk3r (Pilgrim)
on Jan 23, 2006 at 12:20 UTC ( #524904=note: print w/ replies, xml ) Need Help??


in reply to How to format this xml output?

It would be better if you provide a sample of your XML and the database table that you want to insert data. In both cases, this has nothing to do with format XML output (I thought it was something related to XSL).

Once you have the data in array ref, you just need to extract the data that you want dereferencing it. Looks like the XML file that you have doesn't have the same structure of the database table, so you will need to do some data transformation.

Take a good look at the perldoc perlref document to see how to do that.

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill


Comment on Re: How to format this xml output?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://524904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2014-11-26 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls