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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
5k views

Why do I get this error trying to run a web project on Tomcat with Eclipse?

I have this error after export a project from Eclipse for Windows (tested in Windows 7 and Windows 10) and importing it to Eclipse for Ubuntu. The error happens when I try to run the project on Tomcat ...
Germán Acosta's user avatar
0 votes
1 answer
128 views

Remove user's ability to disable lockscreen in Gnome 2

How do I remove the "Lock" on/off toggle from Gnome 2's Brightness and Lock screen under System Settings? I need to remove our staff's ability to disable their lock screen by using the toggle. In the ...
Scott Sisco's user avatar
1 vote
2 answers
1k views

Grep replace in multiple xml files

I have below command to find all the .xml files containing the <active>true</active> having <codePool>community</codePool> after that line on next line. grep -rzl '<active&...
Vicky Dev's user avatar
  • 433
2 votes
1 answer
4k views

How to change values in XML file

I have an XML file like below. I want change the values at default-value place of each argument name using a shell script like: where argument name= protocol and default-value=tcp, where argument ...
Sureshchandra Jarugula's user avatar
0 votes
1 answer
173 views

Connection mySQL to ws02

Folks, Im facing a problem with connecting/creating mysql database/tables to ws02 instead of h2 ws02@ws02:/usr/bin/wso2/wso2emm-2.0.1/bin$ sudo -E ./wso2server.sh -Dsetup [sudo] wachtwoord voor ...
user6297667's user avatar
2 votes
0 answers
62 views

Ubuntu phone - how to store data when writing HTML5 app - preferred way

I started creating a simple organizing app for myself, and hit a brick fairly quickly. Wanted to have an XML list of things that would be read and updated by a HTML form. Now I came through ...
Tegeravis's user avatar
0 votes
1 answer
180 views

How to download and parse a gzipped xml file with qml in Ubuntu Touch?

Currency converter tutorial is very useful in explaining how to download and parse an xml file through XmlListModel, but it seems it is not possible to parse a gizipped file in this way. How could I ...
lqskqs's user avatar
  • 3
2 votes
1 answer
3k views

Installing XML-RPC C++

I am trying to install XML-RPC for C++, and it seems like this library is the most often used. However, when building it using ./config, I get the error message: configure: ==>We are not building ...
Teknophilia's user avatar
0 votes
1 answer
2k views

How to delete all `uuid="*-*-*-*-*"` attributes in an XML file using the terminal?

Here is my code in myfile.jrxml. All I want to do is to delete all the uuid="contained_value" attributes. I've searched them with grep -ir uuid *. How to delete them? <band height="50"> ...
Kyuketsuki's user avatar
2 votes
0 answers
111 views

How to display XML radio information in plain text on Rhythmbox?

My local radio station provide an XML feed on the AAC file. Here is the url : http://ckmf-aac.akacast.akamaistream.net/7/493/102120/v1/astral.akacast.akamaistream.net/ckmf-aac At each song, there is ...
Félix Desjardins's user avatar
1 vote
0 answers
233 views

Vocabulary learning on linux using Free Dictionary files (TEI P5 XML)

for brushing up a foreign language, I need to find a way to use Free Dictionary files in TEI P5 xml format with one of the vocabulary trainers available for Linux. So far I tried Parley, Pauker and ...
hsiyao's user avatar
  • 11
4 votes
6 answers
5k views

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 ...
cra0zy's user avatar
  • 496
0 votes
3 answers
1k views

Script to extract text using grep

I am trying to extract two text strings from multiple data files in a directory. I want to separate the text string using a ~ character and send the output to one single file. Example directory name: ...
Kays Kay's user avatar
1 vote
0 answers
214 views

Importing jabref xml reference file for Microsoft word on PlayOnLinux

I manged to successfully install Microsoft Word on PlayOnlinux. I use jabref for references which can generate an XML file which can be imported into word for citation. I can do this on word on MS ...
Darith's user avatar
  • 11
0 votes
1 answer
2k views

Python reinstallation --enable-unicode=ucs4 and lxml undefined symbol: PyUnicodeUCS2_DecodeLatin1

I'm using Ubuntu Server 14.04. I needed for my new django project to compile python with ./configure --enable-unicode=ucs4 option. I reinstalled python with ucs4. Now when I'm trying to run scrapy ...
Sebastian Rockefeller's user avatar
0 votes
1 answer
5k views

Invalid roslaunch XML syntax

So I've created two files: robot.launch and robot.yaml. Robot.launch contains this: Robot.yaml contains this: nxt_robot: - type: touch frame_id: touch_frame name: ...
Joel Castro's user avatar
2 votes
4 answers
11k views

How do I extract a single attribute from an XML file?

I'm not really familiar with regex, sed, etc. and a bit lazy to figure it out right this moment, so how do I extract this line: <yweather:astronomy sunrise="6:50 am" sunset="7:06 pm"/> Let me ...
knl's user avatar
  • 127
2 votes
0 answers
185 views

why does DBUS violate its own DTD?

I was looking at DBUS system.conf. The XML includes a DOCTYPE statement that references the following DTD: http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd However, when I tried ...
David's user avatar
  • 121
0 votes
1 answer
909 views

wget set name of downloaded file

I'm using the following command to download web pages into static html files: wget --quiet http://mytestdomain.com/sitemap.xml --output-document - | egrep -o "http?://[^<]+" | wget -i - But it ...
user2028856's user avatar
  • 1,181
2 votes
0 answers
4k views

wget download all web pages from an XML sitemap

I'm trying to mirror and download as static html files all of the links in an XML sitemap file. I found the following command which is supposed to accomplish what I'm trying to achieve but it doesn't ...
user2028856's user avatar
  • 1,181
2 votes
0 answers
973 views

jhbuild sanitycheck failing on Ubuntu 14.04 (Trusty)

I'm trying to set up jhbuild on Ubuntu 14.04. When I run jhbuild sanitycheck, I get two messages: Could not find DocBook XML DTD V4.1.2 in XML Catalog Could not find DocBook XSL Stylesheets in XML ...
James Wyper's user avatar
10 votes
5 answers
15k views

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's user avatar
  • 1,441
1 vote
1 answer
699 views

Accept headers: application/rss+xml, text/rss+xml, text/xml

I have a Ubuntu with Apache and PHP running a web server and a full working web site on it. My problem is that recently I also added an API to it and the client fails with 'Error 406' My website ...
Vlad's user avatar
  • 21
2 votes
1 answer
17k views

Is it possible to modify an xml file in Terminal?

I got the following instructions: sudo nano /etc/tomcat7/tomcat-users.xml add a user who can access the manager-gui and admin-gui: <tomcat-users> <user username="admin" password="password" ...
user471011's user avatar
  • 3,559
0 votes
1 answer
56 views

XML info for my computer installing Hadoop

I'm new to this. Where do I find my computer's info to replace this generic XML data? <property> <name>dfs.datanode.data.dir</name> <value>file:///home/hduser/hdfs/...
ayman803's user avatar
2 votes
2 answers
294 views

how to check spreadsheet for input errors

I was generating large XLS (Microsof Ofice Excel spreadsheet) file for a client with XML. The file has 72MB and when I try to open it in LibreOffice it crush on "General input/output error" yet when I ...
equivalent8's user avatar
10 votes
3 answers
13k views

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 ...
Erik Sjölund's user avatar
4 votes
1 answer
3k views

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 ...
OmaL's user avatar
  • 271
0 votes
1 answer
118 views

What are the important xml files? (Accidentally moved all xml files)

Very unfortunately I have moved all my xml files into one folder (I was at /home/desgua/ when I run find . -name '*.xml' -exec mv {} ./logs/ \;. Now I am very afraid of turning off my computer and not ...
desgua's user avatar
  • 32.9k
1 vote
1 answer
660 views

How Do I Run update-perl-sax-parsers to get XML::LibXML::Document properly installed?

I've just tried to install the Perl module XML::LibXML::Document using the cpan shell and at the end of the process it says: Please use 'update-perl-sax-parsers(8) to register this parser.' See /usr/...
matt freake's user avatar
1 vote
2 answers
1k views

xml: copy string of text from one element to another? [closed]

thanks for helping. I'm not a programmer, but i understand basic principles. i need to do this in a bunch of xml files. i'm certain xpath pl or xtask or some combination using regex, could pull this ...
user252328's user avatar
11 votes
6 answers
80k views

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's user avatar
  • 502
0 votes
1 answer
107 views

Can someone recommend a Program able to show and execute XQuery and XPath on a XML document?

I'm searching for a program able to do Xpath and Xquery on XML, but I can't find one (I was using Oxygen XML editor on Windows 7 before). I was wondering if such a program exists for Ubuntu.
Heleplanchiste's user avatar
0 votes
1 answer
2k views

How to import and export database from SQL SERVER to MYSQL SERVER vice versa in mono2.2 with gtksharp2.10 in ubuntu?

hy, I am new guy in mono developer. i m using mono developer 2.2 with gtk#2.0. i want develop desktop application in mono. i have to import database which having in SQL SERVER on web server and I ...
David_DD's user avatar
  • 101
8 votes
1 answer
4k views

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 ...
user471011's user avatar
  • 3,559
1 vote
1 answer
619 views

ONIX metadata editor for Ubuntu

There is widely used metadata system in book industry called ONIX for Books. Basically, ONIX metadata is just XML file. There are some commercial solutions for Windows and Mac OS X like ONIX EDIT or ...
Rafal's user avatar
  • 1,807
0 votes
1 answer
6k views

Python: error during generation of XML file from python dictionary

ImportError: No module named elementtree.SimpleXMLWriter The code: import xml.etree.cElementTree as ET root = ET.Element("root") doc = ET.SubElement(root, "doc") field1 = ET.SubElement(doc,...
chirna's user avatar
  • 3
4 votes
2 answers
2k views

A script to monitor new files in folder so I can add them to an external XML files

I want to monitor (by cron, I got that part covered :P) new audio files in folders so I can add them toa separate XML files which act as an podcast RSS feed. The file structure looks like this: - ...
Jean-Philippe Murray's user avatar
1 vote
1 answer
116 views

Theme ListView text pulled from XML?

I've been working on my msm touch app and got to a point were I get the needed info from an XML file, but it is unthemed, and not as good looking as other "direct" text is. Its black and further to ...
Daniel Holm's user avatar
4 votes
3 answers
36k views

Print text between two XML tags

Consider the following excerpt from a large XML file: ... <serverName someKey="false" anotherKey="0.05" thirdKey="0.04"> <default>blah.blah.blah</default> <region ...
Adam Matan's user avatar
  • 12.5k
0 votes
1 answer
131 views

Generating menu in ubuntu

I want to change GUI menu of ubuntu. That is, I want to add a icon at the menu (top of screen), after clicking that a menu will be shown and selecting particular option will run a particular command. ...
TLE's user avatar
  • 173
2 votes
0 answers
544 views

how to read an .atom file from the Data Liberation Front

I downloaded my Blogger history from Google Takeout, and got an '.atom' file. Are there any utilities in Ubuntu that I can use to easily read the archive? It's just an XML file and I can see that ...
user avatar
7 votes
1 answer
312 views

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 ...
Zignd's user avatar
  • 10.8k
2 votes
1 answer
614 views

How to interpret the contents of ~/.gconf?

Consider a key like /apps/metacity/global_keybindings/cycle_windows I can access this this key using gconf-editor. However when I cd to ~/.gconf/apps/metacity I find an empty file named %gconf.xml ...
Pouya's user avatar
  • 463
2 votes
2 answers
2k views

xsltproc killed, out of memory

I'm trying to split up a 13GB xml file into small ~50MB xml files with this XSLT style sheet. But this process kills xsltproc after I see it taking up over 1.7GB of memory (that's the total on the ...
David Parks's user avatar
  • 2,516
2 votes
1 answer
372 views

Do dconf use EXI binary XML?

A question came to my mind reading an answer to the question What are the differences between gconf and dconf?. In an reply to the above question, Oli said: Binary read access is far faster than ...
Hibou57's user avatar
  • 1,195
7 votes
2 answers
8k views

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 ...
Alkthree's user avatar
  • 2,667
3 votes
1 answer
3k views

PDF to XML sure thing, but the other way around?

This is my first post so excuse me if I'm breaking any conventions. Well the thing is I'm developing a long term archive system in Ubuntu environment. For different reasons XML is a very strong ...
Paul Bergstrom's user avatar
5 votes
1 answer
31k views

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 < ...
HardCode's user avatar
  • 163
1 vote
1 answer
743 views

How can I 'span' images in wallpapers.xml

I'm trying to set up some Backgrounds and wrote a custom xml for that (later on I want to make a custom slideshow of these). The images should span over my dual monitor. $ cat /home/user/.local/share/...
Germar's user avatar
  • 6,377