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.
35
questions with no upvoted or accepted answers
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 ...
3
votes
0
answers
2k
views
Virtual Machine Manager not showing edit XML option
I'm looking to use my virtual machine manager to setup a Windows KVM/QEMI. I followed this tutorial...
https://www.youtube.com/watch?v=2WDASJ0ye0A
It's for Arch Linux but I managed to do it. I'm stuck ...
2
votes
0
answers
833
views
I/O warnings and external entities
when entering the input:
sudo /usr/bin/vmplayer &
I receive the following error in my terminal's verbose output:
I/O warning: failed to load external entity "/etc/VMware/hostd/proxy.xml"
So my ...
2
votes
0
answers
1k
views
How to extract content from a corrupted .docx file?
I modified a .docx document using LibreOffice when I open it i get this error:
File format error found at
SAXParseException: '[word/document.xml line 2]: Opening and ending tag mismatch: sdtContent ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
1
vote
0
answers
2k
views
Using etree, how can I get all text of an element and its child elements with their tags in an HTML file?
I'm trying to get text data from HTML files and reformat them according to their tags. The HTML file looks like this:
<!doctype html>
(some HTML code)
<section id="descrption">
...
1
vote
1
answer
142
views
How special characters must be escaped in openbox config file when assigning shortcut-keys?
According to https://stackoverflow.com/a/1091953/ five characters need to be escaped in XML documents under some circumstances:
" "
' '
< <
> >
& ...
1
vote
0
answers
143
views
No manual entry for xerces
How do I install xerces so that I can use it for schema validation?
I've tried:
libxerces-c-doc
libxerces-c-samples
libxerces-c3.2
libxerces2-java
libxerces2-java-doc
Probably it's installed, but ...
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 ...
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 ...
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 ...
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 ...
0
votes
1
answer
78
views
How to install jing-trang with apt?
How is jing-trang installed with apt? Having already installed:
libtagsoup-java
libxml-commons-resolver1.1-java
with apt, it's just this one package which is proving elusive. So far:
xhtml-...
0
votes
1
answer
456
views
How can I view old MSN Messenger, XML chat files in Ubuntu 22.04 as I used to view them in any browser in Windows?
Opening them in any browser in Ubuntu returns a blank page.
0
votes
1
answer
367
views
How to keep a custom Gedit Colour Scheme having chosen a general Light/Dark Style in the Appearance Settings tab of 22.04 (Gnome)
Having installed a clean 22.04 on disk, and applying a Dark Style Appearance...
I imported a custom Gedit XML style-scheme file (backed up from ~/.local/share/gedit/styles) into Gedit (41.0) via:
...
0
votes
0
answers
70
views
Gem5ToMcPAT parser Python file
I am trying to convert the output of a gem5 simulator model to an XML form that could be used as an input to McPAT simulator (to get power results). The file that does this conversion is a Python file ...
0
votes
1
answer
782
views
Code to change an xml tag if a certain value exists
This code changes the tag value from false to true if the false tag value exists (which is what I want)
But if the tag value in the xml is true this as it is changes all the tags in the xml to true. ...
0
votes
0
answers
2k
views
how to make awk extract text in xml with a tag that includes quotation marks
Without quotes, it works fine.
If the line in cust.xml is : \<span style=CustomerId/>999\</CustomerId> <br>
$ awk -F "[><]" '/span style=CustomerId/{print $3}' cust....
0
votes
0
answers
259
views
Run a bash command until another command returns no output
How can I make a command run in a while loop until another command returns no output?
I want this command:
wget https://example.com/example.xml
to run until this command:
xmllint --xpath 'string(...
0
votes
0
answers
28
views
Call remote servers using a google cloud product
I have the following use case that I was trying to find a google solution for. I wanted to be able to call a remote server to get some data. The data comes back as XML. Then I wanted to extract ...
0
votes
0
answers
424
views
how to preserve the order of tags while coverting xml to json in python using xmlutils
I have following xml code chunk:
offset
len
p_val
while i covert it to json using below python code the order of tags are changing as below:
...
0
votes
1
answer
176
views
transfer okular annotations to extended pdf
I have an OLD.pdf annotated using okular. I also have a NEW.pdf, which is the OLD.pdf without anotations plus an extra chapter in the end.
How can I transfer the annotations from the OLD.pdf to the ...
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 ...
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 ...
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">
...
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 ...
0
votes
1
answer
2k
views
Split a large XML file by a certain node into smaller files
I've got a XML file with 1GB (about 6000000 Lines). The goal is to split this file into smaller .xml files with more or less 20000 lines each.
<?xml version="1.0" encoding="UTF-8"?>
<!...
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 ...
-1
votes
1
answer
931
views
How to open an xml file on google earth using a shell command
I have embedded a shell script within a python script to open a xml file with google earth. But google earth throws an error saying it can't read the file but, i am able to open it manually with ...