Questions tagged [xml]

A simple, very flexible text format that stands for eXtensible Markup Language, that can be used to exchange, share, and store data. It is easily parsed by computers, but is also readable by programmers. Use this tag for questions related to topics about using XML.

Wikipedia has a great description about XML. Here is a quote about it:

XML (Extensible Markup Language) is a set of rules for encoding documents in both human-readable and machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards.

Extensible - XML is extensible. It lets you define your own tags.

Markup - The most attractive feature of XML has to be its ability to allow its user to create their own tags. The tags that can be created will be similar to tags in HTML. But with XML you are afforded the opportunity to define your own tags.

Language - XML is a language that is very similar to HTML. But it’s much more flexible because it allows to create custom tags. In this way XML acts like a meta-language: a language that allows us to create or define other languages. For example, with XML we can create other languages, such as RSS.

For more details about using tag XML, refer to StackOverflow.

108 questions
11
votes
6 answers

How can one open an XML file with LibreOffice?

How can one open an XML file, for example with LibreOffice? If I try, all I see is the text format of XML, with tags and so on.
Luigi
  • 502
10
votes
5 answers

How can I convert a CSV file to XML?

How can I convert a CSV file to XML? Is there any software for Ubuntu?
Vitor Mazuco
  • 1,461
10
votes
3 answers

How to remove comments from an XML file?

Is there a command line tool that can remove comments from an XML file? Or do I need to write a small program that makes use of an XML parser to do this? Update: I'm not interested in solutions that only handle a subset of all possible XML…
8
votes
1 answer

Ubuntu Saucy: What is the default console tool for parsing XML?

I used xmllint package for parsing xml files. Also, I know, that we can use xml2, xmlstarlet too. But I do not see those packages in Ubuntu Saucy. Does Saucy contain any default xml parsers? I need parse xml file one time and I do no want install…
user471011
  • 3,569
  • 8
  • 25
  • 19
8
votes
4 answers

From XML to CSV with command line

if I have a XML file on local disk, which command is need to convert file in CSV? And from XLSX or XLS to CVS? Thanks.
7
votes
1 answer

How to tell xmllint not to change to

I accept that it's standard to convert to but the client wants it in the former layout, not the latter. I've looked at various options for xmllint and cannot figure out what's needed. Alternatively, is there something else other…
bugmagnet
  • 327
7
votes
2 answers

Generate tree output from specific/general XML file in Bash

I am trying to generate a tree from an XML file in Bash. This is a part of the XML file:
Russo
  • 1,908
7
votes
1 answer

How do I get a list of all applications that can be executed from Ubuntu Dash Home? Is there is some xml file that stores this information?

I'm building an application and it's very important to me to know how to get this information. In LXDE, there is /usr/share/lubuntu/openbox/menu.xml that lists all the programs that can be executed from the LXDE menu. For that reason, I'd like to…
Zignd
  • 10,982
7
votes
2 answers

How do I increase the terminal border size in xfce?

The terminal (and other applications) borders seem to be only 1 pixel wide which makes them almost impossible to click. I am aware that alt+right click has the same function, but I need the borders able to be clicked. I found this…
Alkthree
  • 2,777
6
votes
3 answers

How to open .xmi files

Is there any app that can open .xmi files in Ubuntu? File created in the XMI (XML Metadata Interchange) format, an XML file format most commonly used for exchanging UML diagrams; stores model design information in a standard XML format used for…
umpirsky
  • 3,852
5
votes
1 answer

Convert XML to CSV shell command line

I have a Large XML file (600MB) and i want to convert that into CSV through Terminal Commands. I have tried to convert the XML into TXT through xml2 command using the following syntax. xml2 < BIG.xml > BIG.txt My XML Fromat is
HardCode
  • 163
5
votes
2 answers

How do I replace multiple fields in multiple XML files?

I have around 4000 XML files and I need to replace the value of both and fields. I need to replace those fields dynamically. e.g. images0001.xml should have images0001 inside the two fields, images0002.xml should have images0002…
4
votes
1 answer

Load configuration from XML (Xfconf)

I'm trying to make an app to switch your XFCE4-Panel's layout between 3 layouts. I applied those layouts and copied the XML file where Xfconf stores its configuration for the panel. The general idea was that I could just remove the old file and copy…
RobinJ
  • 9,020
4
votes
6 answers

How to change default application for XML files?

I have Ubuntu 15.10 So changing the default application for XML files gets immediately overridden by the default browser and does not keep the changes. How do you set Gedit as the default application for XML files? EDIT: In case it's needed, I use…
cra0zy
  • 496
4
votes
1 answer

How to import xml data to a fillable pdf file in linux?

I have a fillable pdf template. Also have a xml file which is extracted from this fillable pdf file. How can I export xml file from these fillable pdf files and also how can I create a normal pdf file from the the xml files or how can I import the…
OmaL
  • 271
1
2 3 4 5 6 7 8