Skip to main content

Questions tagged [xml]

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.

Filter by
Sorted by
Tagged with
110 votes
10 answers
106k 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 ...
qedi's user avatar
  • 1,621
93 votes
4 answers
138k 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 ...
RoboShop's user avatar
  • 3,606
71 votes
8 answers
198k 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 ...
Josh's user avatar
  • 1,652
49 votes
6 answers
119k 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 ...
AngryHacker's user avatar
  • 18.7k
30 votes
1 answer
124k 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 ...
Serieofilo's user avatar
26 votes
14 answers
45k 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 re-...
Dsandre's user avatar
  • 525
24 votes
5 answers
10k 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? ...
Sietse's user avatar
  • 574
24 votes
5 answers
22k views

Grep tool for XML [closed]

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 ...
Adam Matan's user avatar
  • 8,490
19 votes
1 answer
8k views

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's user avatar
  • 1,041
18 votes
3 answers
78k views

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 ...
maxxyme's user avatar
  • 551
16 votes
2 answers
57k views

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 ...
krumiya's user avatar
  • 161
15 votes
14 answers
68k views

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: <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache....
Anthony Kong's user avatar
  • 5,068
14 votes
6 answers
1k 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 ...
Jon Skeet's user avatar
  • 5,144
13 votes
2 answers
36k 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+ ...
Andomar's user avatar
  • 1,461
12 votes
3 answers
31k views

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 ...
raj's user avatar
  • 551
12 votes
4 answers
14k 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 ...
Leo Jiang's user avatar
  • 986
10 votes
2 answers
33k views

How do I send a digest auth request using curl?

While searching for a guide I found this example on Wikipedia GET /dir/index.html HTTP/1.0 Host: localhost Authorization: Digest username="Mufasa", realm="[email protected]", ...
mina nageh's user avatar
10 votes
7 answers
34k views

XML Tools Plugin for Notepad++ 7.4

I am having a hard time getting the XML Tools Plugin for Notepad++ running. I have the newest Notepad++ (v7.4) and the newest XML Tools Plugin (v2.4.9.2 from Sourceforge) both as 64 bit version on ...
Lilo's user avatar
  • 201
10 votes
6 answers
70k views

Simplest way to get XML node count [closed]

I have some XML files for which I want to get the count of nodes. However, I don't want to go and start coding. I have checked some XML tools like Notepadd++ XML Plugin, Cygwin xmllint, XML Notepad ...
th1rdey3's user avatar
  • 465
10 votes
2 answers
12k views

Firefox stopped displaying XML files. How to fix?

I've been happily using Firefox version 56 for a long time to view XML tree by just clicking the .xml file. But now, suddenly, Firefox switched to only display the concatenation of the text content of ...
ARX's user avatar
  • 345
10 votes
1 answer
13k 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 ...
Rich's user avatar
  • 2,131
9 votes
5 answers
7k 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 ...
Narek's user avatar
  • 1,441
9 votes
6 answers
10k views

Free tool for graphical representations of XML files [closed]

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 ...
user avatar
9 votes
5 answers
19k 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 ...
David LeBauer's user avatar
9 votes
4 answers
45k views

Searching inside XML files from Windows Explorer

I have a Windows XP SP2 system where the Windows Explorer search is not able to find text in XML files. Is there some setting that enables searching in XML files? Search does find my text in .txt and ....
Ram's user avatar
  • 275
9 votes
3 answers
16k views

How to get the XPath of an element from Firefox inspector?

Is it possible to get the XPath of an element with the Firefox "inspect element" function (Q)? The Chrome inspector can do this, but if I use the "Copy Unique Selector" option with Firefox's ...
Superbest's user avatar
  • 2,010
9 votes
0 answers
4k views

Injecting 360 video metadata with ffmpeg

I'm working on a library that injects/embeds/writes metadata into a .mp4 file to allow the video to be displayed correctly as a 360 video. The input file is a standard .mp4 file in the equirectangular ...
TrueCP5's user avatar
  • 191
8 votes
6 answers
36k views

Open and scroll through 42 GB text file in Mac OS X

I am running Mac OS X 10.8.4 (Mountain Lion) and I am trying to open and scroll through a 42 GB .XML file. I plan on using an XML parser to parse through it and delete parts, but first I need to know ...
Django Johnson's user avatar
8 votes
4 answers
2k 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 ...
Vebjorn Ljosa's user avatar
8 votes
2 answers
9k views

Combine unzipped xml files back into a working XLSX file

I can rename an Excel file extension from .XLSX to .zip and extract out the xml files. How do I combine individual Excel xml files back into a single XLSX file? I tried zipping up the folder and ...
Jeremy Thompson's user avatar
8 votes
5 answers
25k views

XML Tools for Notepad++: libXML and/or libXSLT missing

I installed XML Tools 2.4.11 using Plugin Manager, however the only thing showing up in menu is How to install item and clicking on it I get a message: Unable to load libXML and/or libXSLT. ...
lovrodoe's user avatar
  • 182
8 votes
1 answer
4k 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> </parent&...
Michael Stum's user avatar
  • 3,101
8 votes
3 answers
24k views

How to add User Defined Language XML File to Notepad++

I have a custom XML style file for SAS, from a list of User Defined Language Files in Notepad++ available here : http://docs.notepad-plus-plus.org/index.php/User_Defined_Languages#...
Chuck's user avatar
  • 181
8 votes
4 answers
299 views

Software for editing XML [closed]

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 ...
thinksocrates's user avatar
8 votes
2 answers
3k 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 Style->...
Lars Haugseth's user avatar
8 votes
1 answer
7k 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, ...
blerontin's user avatar
  • 282
7 votes
4 answers
4k 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?
Manish's user avatar
  • 201
7 votes
7 answers
199k views

How to save an XML file with Chrome

Stupid thing and I can't figure it out. I'm viewing some XML files in Chrome (in this case a WSDL and an XSD). I need to save as files. The problem is that the file I get when I do is mangled with a ...
Svish's user avatar
  • 39.9k
7 votes
2 answers
4k 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 ...
Apache's user avatar
  • 16.2k
7 votes
6 answers
76k 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 ...
n1313's user avatar
  • 653
7 votes
3 answers
2k views

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

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: http://dumps....
d33tah's user avatar
  • 1,403
6 votes
6 answers
15k views

Extract Links from a sitemap(xml)

Lets say I have a sitemap.xml file with this data: <url> <loc>http://domain.com/pag1</loc> <lastmod>2012-08-25</lastmod> <changefreq>weekly</changefreq> <...
Akshat Mittal's user avatar
6 votes
4 answers
3k 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 ...
Archagon's user avatar
  • 922
6 votes
2 answers
32k views

How do I view the xml in firefox in a simpler way?

When I view the following URL: http://upmedia.plymouth.ac.uk/Rss.aspx?CategoryId=20 I doesnt show anything in firefox. However when I view http://upmedia.plymouth.ac.uk/itunesuRssfeed.aspx?...
Pete2k's user avatar
  • 723
6 votes
2 answers
7k 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 ...
user448402's user avatar
6 votes
2 answers
5k views

How do I show raw XML for an RSS feed in Firefox?

Internet Explorer has this option, Turn on feed reading view: When unchecked, clicked Atom feeds will show as raw XML. How can I do the same thing in Firefox?
Vaccano's user avatar
  • 6,726
5 votes
2 answers
19k views

Excel Convert XML cell to columns

I have an excel spreadsheet with XML in a single column. I know that you can import XML data into Excel; but only imports the entire file. However, I need to do this on a cell by cell basis. With ...
Carlos Bribiescas's user avatar
5 votes
2 answers
7k 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 | | ------ | ----- | --------------------------------...
Mihai Nagy's user avatar
5 votes
1 answer
21k views

how to use xmllint in order to get value from xml

I have the following XML file <?xml version="1.0" encoding="UTF-8" ?> <!-- Component configuration file --> <Component> <Name>install_env</Name> <HelpString>...
yael's user avatar
  • 61
5 votes
2 answers
4k 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...
ixtmixilix's user avatar

1
2 3 4 5
11