Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
19 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 ...
1
vote
0answers
43 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 ...
0
votes
0answers
30 views

How to use xmlstarlet sel to list entries in complex order

I'm trying to use xmlstarlet sel to list the disk partitions I need to create from an xml file (example : https://github.com/finley/SystemImager/blob/initrd-from-imageserver-and-dont-package-initrd/...
2
votes
1answer
131 views

XSD-1.1 command line validation tool for Ubuntu

I'm looking for a command line tool to validate an XML file with an XSD-1.1 file. I have downloaded and installed libxerces2-java and then tried to apply Free and open source XSD 1.1 validation tool? ...
0
votes
1answer
950 views

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.
1
vote
0answers
32 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
1answer
109 views

how to read all lines one by one from CSV and create multiple XML files accordingly(one file for one row) using shell scripts

I am trying to write a shell script to create multiple .xml files based on the data read from .csv. I need the help on how to make the loop for each .xml file creation. Rough algorithm for this ...
0
votes
0answers
60 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: ...
1
vote
1answer
179 views

basex standalone not running 18.04

I would like to use basex to perform xquery operations on xml files, as it appears to be more "transparent" than "query string" based filtering. I installed basex (using APT) on a PC running Ubuntu ...
0
votes
1answer
29 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 ...
2
votes
1answer
295 views

How to replace a xml file line using sed

I have the following text in File.XML: <http-listener name="default" socket-binding="http" max-post-size="1073741824" /> I would like to replace that with <!-- <http-listener name="...
0
votes
1answer
302 views

Google Earth Pro on 18.01.1 not opening GPX files

I'm having a problem where Google Earth Pro is unable to open a GPX file, i.e. a file from my GPS unit. It can open KML/KMZ files without issue. I'm running the latest updates on 18.01.1 and the ...
0
votes
1answer
85 views

Let Apache transform XML with XSLT 2.0 automatically [closed]

I'm currently trying to host a little project on my Apache web server. For this project we had the instructions to use XSLT and we always used SAXON to transform our XML to HTML, but I really have no ...
2
votes
1answer
177 views

Script to Create Custom XML Entries for x-wallpapers.xml

I know there is a way to do this, but I just dumped a bunch of my favorite wallpaper files in /usr/share/backgrouds/. In order for my Ubutnu 17.10 to use them, I need to edit the artful-wallpapers....
2
votes
1answer
874 views

How to convert Microsoft Office XML formated spreadsheet to .xls file

I have an Microsoft Office XML that starts with: <?xml version="1.0"?> <?mso-application progid="Excel.Sheet"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="...
2
votes
0answers
437 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 ...
3
votes
0answers
472 views

How to tell xmllint not to change <tag></tag> to <tag/>

I accept that it's standard to convert <tag></tag> to <tag/> but the client wants it in the former layout not the latter. I've looked at various options for xmllint and can't figure ...
2
votes
2answers
918 views

Generate Tree Output from Specific/General XML file in Bash

I am trying to generate a tree from a XML file in Bash. This is a part of the XML file: <menu name="main_menu" display="Main Menu"> <application name="load_profiles" display="Load ...
0
votes
2answers
54 views

Can I use the character “/” in awk

I am working with some .xml, and I have to extract part of them. I need to extract block between the line where appear >21120352</PMID> and the line where appears </PubmedArticle> But ...
1
vote
1answer
763 views

How to take the config.XML field value based on property file value in shell script? [closed]

I have an XML file called config.xml <builders> <hudson.tasks.Shell> <command>$RA_CHEKOUT_SHELL_COMMAND</command> </hudson.tasks.Shell> </builders>...
-1
votes
1answer
465 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 ...
1
vote
1answer
595 views

How to open .doc files containing XML code in LibreOffice?

I have a .doc file that contains XML formatting code. If I open it on Windows with MS Word it perfectly works showing tables, texts and so on. This is how it looks on MS Word: If I open it in ...
-1
votes
1answer
834 views

How can I open EML.XML files in Ubuntu 16.04

How can I open these EML.XML files? I know how to acces the ZIP... ;-)
0
votes
0answers
57 views

XML tag line replace

I have used the below comment to remove the line from my xml. sed -i '/<loan:LoanInterestDate>/,/<\/loan:LoanInterestDate>/d' *.xml but what happened some of file it removed till the ...
1
vote
1answer
468 views

Bash history search using arrows, in Guake

I quite like the option to auto-complete terminal commands from history, using keyboard arrows (as explained here, or here). Yet, the configuration in .inputrc does not affect the terminal in Guake. ...
0
votes
0answers
4k 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 ...
0
votes
1answer
52 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 ...
1
vote
0answers
53 views

How to merge two line in site.xml file [closed]

I want to merge these two line in one: <value>jdbc:mysql://localhost/metastore?useSSL=false</value> <value>jdbc:mysql://localhost/metastore?createDatabaseIfNotExist=true</value&...
1
vote
2answers
543 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&...
1
vote
0answers
76 views

Custom syntax highlighting misbehaving in gedit

I'm creating a custom syntax highlighter for a markup-like language that I created to accomplish some natural language manipulation stuff, so I thought I'd get started with the simple keywords, seeing ...
1
vote
1answer
1k 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 ...
0
votes
1answer
127 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 ...
2
votes
0answers
57 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 ...
0
votes
1answer
117 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
584 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"> ...
2
votes
0answers
61 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 ...
1
vote
0answers
188 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 ...
2
votes
6answers
3k 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 ...
0
votes
3answers
655 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: ...
1
vote
0answers
195 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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
3k 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: ...
2
votes
4answers
5k 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 ...
1
vote
0answers
119 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 ...
0
votes
1answer
640 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 ...
1
vote
0answers
2k 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
1answer
810 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 ...
8
votes
5answers
9k 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?
1
vote
1answer
414 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 ...