Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: (jcwren) Re: Merging XML

by artist (Parson)
on Nov 28, 2001 at 02:33 UTC ( #127943=note: print w/replies, xml ) Need Help??


in reply to (jcwren) Re: Merging XML
in thread Merging XML

Hi Chris, This works fine,
It works great, except it duplicates instead of overwriting the things.
ex.. If I am trying to merge same 2 files, it makes bigger file which is double the size of single file approximately
Artist.

Replies are listed 'Best First'.
(jcwren) Re: (3) Merging XML
by jcwren (Prior) on Nov 28, 2001 at 02:41 UTC

    I think you probably need to post the two source XML files to your scratchpad or as a follow-up to the original article. Hash::Merge has a couple of options, and a different one may need to be selected. It does merge correctly, assuming that your input XML structure is as you say it is. But without a real data set, it's impossible to tell for sure.

    --Chris

    e-mail jcwren

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-06-30 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (98 votes). Check out past polls.

    Notices?