Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm looking for big XML reader, I tried XML Copy Editor, but it can't handle the big xml files (20-50MB) I have. I don't want to edit the XML, only browsing that.

share|improve this question
    
I have yet to find a GUI xml editor quicker than xml copy editor so my answer is solely based on command line ;) –  Rinzwind Sep 17 '11 at 14:27

1 Answer 1

up vote 4 down vote accepted

XML Copy editor (like most of the similar programs) try to read in the XML in 1 go. Depending on the formatting of the XML this might take some time. What you are looking for is byte-stream editor (these load only part of the file before showing you it).

  • If it is just browsing a file the command line less might be interesting.

Less is a program similar to more, but which allows backward movement in the file as well as forward movement. Also, less does not have to read the entire input file before starting, so with large input files it starts up faster than text editors.

  • And there is also good old reliable sed

Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline which particularly distinguishes it from other types of editors.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.