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.
Questions tagged [xml]
540 questions
115
votes
10 answers
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 often care that the files are functionally the same,…
qedi
- 1,681
99
votes
4 answers
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 extension and it just opens up in notepad showing a bunch…
RoboShop
- 3,696
71
votes
8 answers
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 like to see the layout and functionality that…
Josh
- 1,652
52
votes
6 answers
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 XML from the Languages menu.
Is there a way to…
AngryHacker
- 19,327
30
votes
1 answer
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 need to search the item, create if not exists and…
Serieofilo
- 319
27
votes
14 answers
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 re-install the sofware (and the first launch works),…
Dsandre
- 535
24
votes
5 answers
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?
What I'd link to do is just type something…
Sietse
- 574
24
votes
5 answers
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 matches, and mine may be recursive.
I have tried…
Adam Matan
- 8,740
19
votes
1 answer
goldendict XML parse error on Wikipedia and Wiktionary
I get this error on goldendict for English Wikipedia and English Wiktionary:
Query error: XML parse error: unexpected end of file at 1,1
yucer
- 1,041
- 1
- 9
- 16
18
votes
3 answers
How to format/indent single-line XML files in Notepad++ x64?
For a long time the TextFX plugin did the job for the Notepad++ 32-bit version via the menu TextFX > TextFX HTML Tidy > Tidy: Reindent XML.
In January 2012 Notepad++ v5.9.8 didn't include the plugin anymore, probably due to new support of Unicode,…
maxxyme
- 551
16
votes
2 answers
How to import a scheduled task automatically from an XML file?
I have created a scheduled task in Windows 7. The task is running perfectly well on my computer.
I have also exported the task to an XML file and want to create the same task on another computer automatically. How can I import the XML file…
krumiya
- 161
15
votes
14 answers
Scripting: what is the easiest to extract 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:
Anthony Kong
- 5,318
14
votes
3 answers
How to see XML coding of SVG image created in Inkscape?
I heard that SVG files are made of XML and HTML but softwares like Inkscape are used to create SVG images easily without worrying about coding in XML.
Hence after creating a SVG image I want to view a XML coding of it because I can change the colors…
raj
- 581
14
votes
6 answers
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 to see what the copy editor's done really easily,…
Jon Skeet
- 5,144
13
votes
2 answers
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+ connections to point to a different server.
When I open the…
Andomar
- 1,511