> For the moment, I am just trying to view the file's contents... some
> other program is supposed to perform things afterwards I haven't yet
> faced that matter.
>
> I have just downloaded "csplit".
> Thanks for the "cat" and "sed" tips.
>
For actually processing an XML file that enormous, I'm a huge fan of the
Perl library XML::Twig[1]. And even if you're not planning to process
it with Perl, XML::Twig has a pair of very useful utilities 'xml_split'
(and 'xml_merge'), which are tailored to the task of splitting (and
reässembling) large XML files into manageable chunks. Discussion of the
tool started at perlmonks.org[2], where you might find some useful usage
information (or 'perldoc xml_split' after installed).
--
Best,
Ben
[1] http://search.cpan.org/dist/XML-Twig/
[2] http://www.perlmonks.org/index.pl?node_id=429707
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
No comments:
Post a Comment