Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: xml_split - split huge XML documents into smaller chunks

by mirod (Canon)
on Feb 07, 2009 at 10:17 UTC ( #742100=note: print w/ replies, xml ) Need Help??


in reply to Re^2: xml_split - split huge XML documents into smaller chunks
in thread xml_split - split huge XML documents into smaller chunks

Sorry I did not see this follow-up. Yes you can. In recent versions of xml_split, the -g or the -s options should give you what you need:

  -s <size>
       generates files of (approximately) <size>. The 
       content of each file is enclosed 
       in a new element ("xml_split::root"), so itís 
       well-formed XML.  The size can be given in bytes,
       Kb, Mb or Gb.

   -g <nb>
       groups <nb> elements in a single file. The content
      of each file is enclosed in a new element 
     ("xml_split::root"), so itís well-formed XML.


Comment on Re^3: xml_split - split huge XML documents into smaller chunks

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (15)
As of 2014-08-28 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (260 votes), past polls