Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What can I use to view xml files? Are there any recommended xml applications? I can only seem to view them in their raw text file format.
The only application that I've found to be able to parse them correctly is microsoft office and I only have access to it at work. And transferring them to my work PC is obviously too much of a hassle.
Last edited by Furlinastis; 06-06-2008 at 12:19 PM.
Reason: spelling
It all depends on how you want them to look. By design, the file format is application-agnostic; only the end application(s) understand how to use the data. Without the target application's built-in knowledge, the data is just text. Or do you want something that simply pretty-prints and/or syntax highlights the file? Many software development oriented editors (nedit is the one I like, there are many others) do this.
--- rod.
OH, I just want to view the file as it should be viewed. I'm not looking to develop anything with xml.
Well, if you open an xml file with gvim or another ordinary text editor, you can see the tags. I want to view the xml file as it should. Kind of like, opening an html file and seeing all the tags as opposed to viewing it with a browser.
Well, if you open an xml file with gvim or another ordinary text editor, you can see the tags. I want to view the xml file as it should.
Viewing XML "as it should" as you put it depends on the context of what its being used for. For example, Using NetBeans with an Open-ESB plug-in, I can view a nifty graphic diagram of a BPEL object. "Under the hood" the source code is pure XML. What are your XML files used for? (need context.. SOAP, BPEL, WSDL,...?) Chances are you may need an IDE (Eclipse, NetBeans, etc) and a plug-in to view these XML files in a way you are used to.
I must admit I don't know much of anything about xml files.
The file I want to view is a 3DMark file which I extract from this xpi archive(zip file) when I save my results. I don't get why it doesn't just print my score. The file shows nicely with microsoft excel, but I can't find another program to view it as I don't own a copy of ms office.
I'll check out netbeans, although looking at its website it seems a little more than I need, but if it does the job I'm not going to complain.
There are xml extension tools you can install for firefox. Also poke around in your package manager. There should be some xml/xslt console and gui programs you can install as well. The xmlstarlet package allows you to transform an xml file from the command line instead of creating an external xsl file.
Openoffice just gives me garbage, but that Firefox XML extension worked as well as I guess I'm going to get. If I click views>"pretty print" it outputs as a wordwraped text file. Thanks.
I think I'll fool around with that netbeans app... haven't tried coding in quite sometime. Thanks for turning me onto that.
I had the same question. Most XML files while they are as most same just text files, often contain all sorts of control codes embedded so they can not be viewed as a text file. I found through a google serach the Linux command xmllint which parses out the control codes and display the XML code as text or as an html file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.