XML is Extensible Markup Language, a markup language. A markup language is a way to enter information into a text format that can be easily identified as not being part of the content, but rather instructions on how the content should be treated.

learn more… | top users | synonyms

45
votes
6answers
56k views

Displaying XML in the Chrome browser

I love the Chrome browser, but I use XML quite a lot in my development work and when I view it in Chrome I just get the rendered text. I know that the source view is slightly better, but I'd really ...
34
votes
4answers
37k views

How to set the default language in Notepad++

I mostly use Notepad++ for dealing with XML files. It would be good if Notepad++ parsed and colorized my files based on the XML language when I open the files. Instead, I have to open the file, pick ...
21
votes
6answers
14k views

How can I diff two XML files?

On Linux, how could I generate a diff between two XML files? Ideally, I would like to be able configure it to some things strict, or loosen some things, like whitespace, or attribute order. I'll ...
15
votes
5answers
8k views

Grep tool for XML

I am looking for a good tool to perform grep-like operations on XML - for example, extract certain attributes only. Grep itself can't handle it - any DFA-equivalent tool can handle only non recursive ...
11
votes
6answers
417 views

Line-length-tolerant XML diff

I've looked at the answers to this question, and unfortunately none of them has helped me so far. Not to beat about the bush, the second edition of C# in Depth is now in copy edit. I want to be able ...
10
votes
1answer
7k views

How do I see the XML of my DOCX document?

I want to see my DOCX in its pure XML format. Various application like internet browsers and visual studio will open the file up in Word for me. I've also tried renaming the document to .xml ...
8
votes
5answers
5k views

Advantages of DOCX Format Over DOC

Today I have accidentally found out that the .docx is the same .zip (or there is no big difference between them). When you change the .docx to the .zip and open with WinRAR you see a bunch of XML ...
8
votes
5answers
1k views

Free tool for graphical representations of XML files

I need a tool which displays an XML file in a nice way. With "nice way" I mean a way on which I can fold and unfold all the nodes. Is there any free tool that runs on Windows Vista that does this ...
8
votes
4answers
7k views

View RSS feeds in Chrome instead of downloading it

Before, if I go to a RSS feed (.xml file), Chrome displays it. I could use extensions to format the feed or just view the source directly. However, now, Chrome forces me to view the feed using a RSS ...
8
votes
4answers
219 views

Software for editing XML

I need a piece of software to allow me to create XML from a DTD. I don't want to have to see the actually XML at all though. I would like something that generates a GUI based on the DTD and allows me ...
7
votes
3answers
600 views

How can I convert a whole XML dump from Wikia to Kindle?

I'd like to convert an XML dump of whole Deus Ex Wikia to my Kindle. How can I do that? Here's the compressed XML file if anyone wants to try their solutions before posting an answer: ...
6
votes
10answers
11k views

Scripting: what is the easiest to extact a value in a tag of a XML file?

I want to read a pom.xml ('Project Object Model' of Maven) and extract the version information. Here is an example: <?xml version="1.0" encoding="UTF-8"?><project ...
6
votes
4answers
1k views

What does X denotes in ASPX, DOCX, XLSX, PPTX etc?

Previously there were ASP, DOC, XLS, PPT etc and now ASPX, DOCX, XLSX, PPTX respectively. What does X denotes in ASPX, DOCX, XLSX, PPTX etc?
6
votes
6answers
4k views

Notepad++ doesn't launch (notepad++.exe present in the task manager)

Yesterday Notepad++ was runnable, but today it doesn't. In spite of the notepad++.exe (with its 13 process) presence is the tasks manager, Notepad++ window doesn't launch. I tried to uninstall and ...
6
votes
1answer
17k views

How to modify/create values in XML files using PowerShell?

I would like to know if is it possible to modify/create values in XML files using PowerShell. Basically I'm interested in: Modify values in the XML file or create them if they don't exist (i.e. I ...
6
votes
3answers
1k views

Make emacs not remove the BOM from XML files

I use Emacs to edit an XML file that is also read by another application. The other application requires that the file start with a byte-order marker (BOM). However, Emacs seems to remove the BOM ...
6
votes
1answer
1k views

XML Beautifier for vim?

Is there a vim command or plugin that quickly "beautifies" XML? I have a file that looks like <parent><child attr="bla"><subitem>Hello! </subitem></child> ...
5
votes
4answers
992 views

LaTeX, HTML/CSS/XML, or something else to build a resume?

I'm finding it progressively more difficult to maintain my Google Docs resume, and I'd like to redo it with the separation of content and presentation in mind. I thought LaTeX would be the best tool ...
5
votes
3answers
988 views

How can I highlight XML on the command line?

How can I highlight XML from stdin (e.g. piped from xmllint --format) to stdout? I know how to get highlighting working in nano and view, but is there something that just outputs to stdout and exits? ...
5
votes
2answers
4k views

Unattended installation for windows 7 x86

Are there any pre-created Autounattend.xml files for Windows 7 unattended installation x86? I have been experimenting and creating the XML file but I am always being prompted to choose which hard disk ...
5
votes
2answers
465 views

Split Excel column with XML inside

Is there a way to break an Excel column containing XML into several columns like this: BEFORE | Apples | Pears | XML | | ------ | ----- | ...
5
votes
3answers
7k views

Excel: Edit the XML inside an XLSX file

An Excel XLSX file is a zip archive containing several XML files. I tried to extract all the XML files, and edit xl\connections.xml using an XML editor. That's because I have to change 20+ ...
5
votes
1answer
1k views

How to get Firefox to show XML document trees in a monospace font

I would like Firefox to display XML document trees in a monospace font, instead of using the default proportional serif font. For a single document I can do this from the menu View->Page ...
5
votes
1answer
888 views

Can user-defined autocomplete keyword description in notepad++ span multiple lines?

I am creating an API auto-complete XML file for my user-defined language. Can the description text assigned to the keyword be displayed as multiple lines inside the auto-complete pop-up window? i.e. ...
4
votes
2answers
328 views

Why doesn't Firefox show any kind of a feed presence indication when there is are RSS/Atom feeds associated with the page? [duplicate]

For example I've came to a webpage having the following tag inside its <head> tag: <link rel="alternate" type="application/rss+xml" title="A blog feed" ...
4
votes
2answers
1k views

Convert Atom XML to plain text

I have backed up my blog from blogger. The format of the file is Atom XML. What's a quick way to turn it into plaintext? Opening it in a browser leads to formatting errors...
4
votes
1answer
2k views

How to format a XML file with long list of attributes?

I am currently working with XML files that contain elements with a long list of attributes. When I try to re-indent the whole XML file using xmllint --format myfile.xml only the elements are indented, ...
4
votes
1answer
294 views

Excel - including data from a remote (web) sheet?

As a part of providing dynamic dashboards / reports, I've been investigating having a static Excel workbook that would contain a raw data sheet periodically updated from a web source. I'm currently ...
3
votes
4answers
1k views

Search for and print only matched pattern

I have some huge xml text files. I need to write a script to find and print a specific tag only. I tried sed and grep but they both return the whole line. Using SunOS 5.x, so not all linux commands ...
3
votes
2answers
4k views

How do I “run” an XSLT file?

I've received a great answer about sorting XML - I need to use XSLT. But how do I actually do that? What software is required? What command or application do I need to start to get a "converted" XML ...
3
votes
2answers
223 views

How can I force a malformed XHTML document to get loaded as HTML?

I am trying to open http://www.x.org/releases/current/doc/man/man3/xcb_grab_keyboard.3.xhtml in Firefox, but it fails with a XML parsing error. Chromium has a similar issue with it, but it shows at ...
3
votes
2answers
882 views

How to Create an XML File from an Excel File

I have an Excel spreadsheet file that has 5 or so columns and hundreds of lines. I need to convert this (export these data) to an XML file. I'm interested in three of the columns and they correspond ...
3
votes
1answer
29 views

Is there a query language for XML?

Is there a language that I can use to query an XML document and have result set returned. The same way I can use SQL to query a dtabase and get a result set?
3
votes
1answer
3k views

How could I embed formatted XML source in WORD documents?

I'm writing a documentation with WORD that contains XML source code (whole files) as examples. The way I'm embedding the currently XML is quite cumbersome and doesn't seem to me as really ...
3
votes
1answer
2k views

How do I show raw XML for an RSS Feed in Firefox

Internet Explorer has this option: When unclicked clicked ATOM feeds will show as raw xml. How can I do the same thing in Firefox?
3
votes
2answers
622 views

Excel-like software for XML data?

Is there any Excel-like software for XML data? Something not restricted to spreadsheet format, but allowing: data with hierarchy more strict typing tagging multiple views to the data, unlike ...
3
votes
1answer
379 views

Accessing Hotmail from Firefox: “XML Parsing Error: not well-formed”

When I try to access my Hotmail account from my present computer I get the following error message: XML Parsing Error: not well-formed Location: http://sn105w.snt105.mail.live.com/default.aspx Line ...
3
votes
2answers
4k views

How can I get Firefox to open XML files in Notepad++ instead of in the browser

I don't want Firefox to display XML files internally, I want it to open Notepad++ instead. I have had a look a the Tools\Options\Applications menu but there is no 'XML' content type. I am using FF ...
3
votes
5answers
871 views

Software for viewing and analyze big xml files

I'm working with a quite a big XML file (~20-40 MB) and I'm using Notepad++. Is there any better application to view and analyze such a big XML files?
3
votes
4answers
19k views

Quick way to convert Excel sheet to XML

How do you easily convert an excel file into a XML file? When trying to save as an XML File, it complains that the file does not have an XML mapping. Clicking help brings up pretty complicated stuff ...
3
votes
1answer
87 views

Is it possible to edit the source representation of objects in Excel?

I often find myself copying and pasting worksheets in order to show the same analysis for different sets of data. This includes graphs. It's irritating having to 'select data' for every data series, ...
3
votes
1answer
441 views

Sorting XML files so that differences can then be found

I need to compare two XML files, each of which is about 13,000 lines long. Sadly the code that generates these files doesn't generate the data in the same order each time (the data comes from a ...
2
votes
4answers
6k views

How to store an XML document in Mac OS X?

Firstly, I opened TextEdit. Went to Format Menu & I set option -> Make Plain Text, I entered following Data, Which is to be required in my Application. <?xml version="1.0" ...
2
votes
4answers
6k views

iTunes + External Hard Drive problem

Okay, so I've always stored my music on my external hard drive and run it from there with iTunes. Recently, however, it's being a little awkward. I think it was because I accidentally tried to run a ...
2
votes
2answers
342 views

trimming an XML file the dumb way

(see solution below) I have XML files which I parse with a Python script (I did not write it but it does the job perfectly). The problem is that the XML file is large (~ 1GB) and the parsing take ...
2
votes
2answers
447 views

Excel version confusion

I got an Excel file, actually it's a zip file which contains many folders and files including sheets in XML format. When I try to open it, Excel 2003 says "The file is not in a recognizable format" ...
2
votes
3answers
2k views

Is there a native tool for parsing xml files available on RedHat?

Are there any utilities similar to xpath for parsing XML files that would be natively available on a RedHat server? Similar questions have been answered elsewhere, but none of the tools listed are on ...
2
votes
5answers
6k views

Why my browsers display XML files as blank pages?

Every time I open an XML file, all I get is blank page instead of tag tree. The file itself is correct and loads okay, I can see it via View Source or in the Firebug. I've tried turning off all my ...
2
votes
1answer
320 views

Why does IE block its own script for collapsing XML tags?

Every time I open an XML file in IE (I know, right?), I get the yellow bar security error saying scripts are blocked. Allowing the script to run makes it so you can collapse tags. Seems a bit ...
2
votes
2answers
666 views

Is it possible to import VIM syntax highlight into Notepad++?

VIM's got a syntax highlight file I would like to have in Notepad++. But VIM uses ".vim" files for syntax highlight definitions, while Notepad++ uses XML. At the "Import" button, you can only specify ...