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

Re: xml_split - split huge XML documents into smaller chunks

by Anonymous Monk
on May 30, 2007 at 15:58 UTC ( #618225=note: print w/replies, xml ) Need Help??

in reply to xml_split - split huge XML documents into smaller chunks

I'm thinking about using this. Right now I've got a 1gig XML file with about 20,000 different "sections" that I would want to split into individual files. What I would like to be able to do is say split this XML file on this node, and name all of the generated XML files the id of that here is an example... <Root> <section id=1> <section id=2> <section id=3> </Root> I would want the split to generate a 1.xml, 2.xml and 3.xml in this case. Probably a pretty easy modification, but I just thought I'd throw that out there for everyone.
  • Comment on Re: xml_split - split huge XML documents into smaller chunks

Replies are listed 'Best First'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://618225]
[Discipulus]: choroba i made you Bishop !!
[choroba]: 9999 points until level 23 - Archbishop.
[LanX]: darn trying to downvote him again fails ... ;-P
[Discipulus]: congrats!
[LanX]: His Excelleny Choroba will now nbe clothed in his new robe ...
[Discipulus]: bishop ship sheeps in the shop..
[1nickt]: Discipulus too easy!
[1nickt]: "The sixth sheik's sixth sheep's sick" (if you are after 'sh' tongue twisters)
[Discipulus]: ok try it in Eatalian ;=)
[Eily]: Discipulus I don't suppose you can do the same for me can you ? :P

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-09-26 12:00 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (294 votes). Check out past polls.