Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [xml]

Extensible Markup Language (XML) is a flexible, structured document format that defines human- and machine-readable encoding rules.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Generate signed apk/app bundle option not working

I just purchased an app and i am trying to edit it and then publish it to the google play store. the app doesnt have a build.gradle files and when i open it in android studio i only get 3 options for ...
0
votes
0answers
14 views

Can I convert XML to JSON without disturbing the functionality of my website?

I have a web app that was developed for me. I'm learning JavaScript while trying to learn how to manage the back end but it's currently written in XML and for simplicity, I'd like to change it to JSON ...
0
votes
0answers
7 views

Adding an extra node outside the call-template function

The current code I have uses an existing locked template to build the output xml. I would like to add a new node to the output but I'm not exactly sure how to do it. <xsl:include href="private.xml....
1
vote
1answer
15 views

Python lxml iterparse sort by attribute large xml file

I have a large XML file which i'm trying to order the icons on for each programme, i want to order the icons descending by the value in the width attribute, i've managed to delete certain icons which ...
-1
votes
0answers
9 views

XSL-FO - add a background image to multiple PDF pages

i'm generating a pdf using a XML and a XSL via Apache FOP, java Library. I can't figure out how to display a background image for each page (or even a single page...). The back ground needs to ...
0
votes
0answers
11 views

Persisting a multiple level XML/JSON Data into a Table

Sorry if this is a stupid question, I'm learning about JPA and REST. I'm trying to setup a REST service that receive a POST request with a XML and write into a single table, but I'm stucked with "sub-...
0
votes
1answer
12 views

parse a nested XML matrix in javacript

I'm to parse the following xml file and print every value in an html file while keeping them organized by their tag, preferably the output would look like a menu format but just help with the parsing ...
0
votes
0answers
13 views

Cannot extract links from RSS feed using Rvest package

I am trying to get links to WSJ articles from an RSS feed. The feed looks like this: <rss xmlns:wsj="http://dowjones.net/rss/" xmlns:dj="http://dowjones.net/rss/" xmlns:content="http://purl.org/...
-1
votes
1answer
27 views

breaking line using sed. sed inconsistent or I made a cardinal error

EDIT This ticket is NOT about parsing XML. Please read the question before jumping the horses. Thank you in advance. A curl call sends me back text (in this example xml) in one line. For readability ...
0
votes
2answers
28 views

Finding all element names with values using xslt coding

Consider below is my xml and i have to write xslt to produce output in two column table. The first column should contain element name with attribute value and second column should contain node value. ...
1
vote
3answers
37 views

Finding the after matching String in java

I have a problem with pattern. I need to get value(number and text) after macapp= and after locapp= between 2 words is & how do this String temp = "http://sedaword.com/app/fr/main.php?macapp=...
-1
votes
0answers
19 views

Trying to get property on non object - XML

I am trying to loop through a xml document and echo out some information. I can't seem to get it to work. I keep getting the error Trying to get property on non object Here is an image of my xml ...
0
votes
0answers
14 views

How do I navigate the different nodes of a parsed XML in javascript

I'm working on a simple "wallpaper engine background" if any of you are familiar with this tool. The concept would be this: You could edit a simple .xml file to add your song, the title, the author ...
0
votes
0answers
22 views

Dumping jsons and include date in filename

I'm trying to name a bunch of json filenames which are being parsed from xml files. Each json file includes date information which I want to include in the name of each file, e.g. speech_26_01_2000....
0
votes
0answers
11 views

How to get last day and first day in RTF Template

I need to display the First and last day of the month in the RTF template. I tried the below code but still not able to display the values in the BI Publisher. <?xsl: value-of select=functx:last-...
0
votes
0answers
8 views

Need assistance with JavaScript code to parse xml response

Using Mirth Connect 3.7.1. I have channel that uses destinations to: 1 destination - HTTP Sender to use a POST call to receive an authorization token. Put the token into a variable to use in the ...
0
votes
0answers
11 views

XSLT with Python lxml : can't process <xsl:for-each> element [duplicate]

I'm new to XSLT and for the moment I'm just trying some basic XSLT operations with lxml (Python 3.6). I want to transform an XML file into another XML file. Here is my Python code: def ...
0
votes
0answers
9 views

XML - Is there a special CDATA format can autmaticly transform in ELEMENT / ATTRIBUTE form

I have a question about the CDATA format. Is it possible to switch with standard XSLT 1.0 functionality a special CDATA format an identity to a XML Element with Attribute format? Or is there may be a ...
0
votes
0answers
17 views

Recording single quotes in xml format without BOM

I have a problem saving text that contains single quotes, which is exactly the same as when i include non-BOM encoding vaguely formatted in XML. If I just allow UTF8 to be encoded then it shows up ...
0
votes
1answer
21 views

Populate Listbox from XML Class with multiple values

I am attempting to populate a Listbox from a class read in from XML. I have the following code: Imports System.IO Imports System.Windows.Forms Imports System.Xml.Serialization Public Class ...
0
votes
0answers
19 views

C# XML documentation '<include>' tag not appearing in intellisense?

I developing a C# class library in Visual Studio, and I have been making use of XML Documentation Comments primarily for their integration with Intellisense. However, the bulk of comments has become ...
0
votes
1answer
28 views

Clean XML from empty elements using Javascript

I'm struggling with problem, what probably has simple code solution, but was not able to find it for Javascript. I want to clean XML from empty elements using DOMParser or whatever JS tools. Example ...
-1
votes
2answers
32 views

How can I get the XML value for a second level Child node

I have an xml file and need to extract the InnerXML from a second level child node using C#. Below is a snippet of my XML. <joblisting:department>Supply</joblisting:department> <guid ...
0
votes
0answers
9 views

App crashes when calling XmlPullParser.getAttributeValue

I am trying to fetch locations from an xml database based on gps location. However, I am facing problems when reading the xml file in Android Studio. I have saved the xml file in an xml diretory, in /...
-1
votes
0answers
18 views

Unable to save data from tree-grid to database. Can edit and delete but cant add new data

I have a problem adding new data in the tree grid and save them to the MySQL database with the server-side Php. I can edit and delete but can't add new and save them to the database. The code I tried ...
0
votes
0answers
10 views

Converting a Postgresql database dump to XML for Wordpress Import

I've been tasked with converting a postgresql database dump to an xml-file that Wordpress can import and use. I've tried converting the dump to mysql, as well as restoring the postgresql database, to ...
0
votes
0answers
10 views

Is there a VAST 2.0 only test service?

I am trying to test my VAST 2.0 output but I cannot find a test service that is only VAST 2.0. I want to see if it is definitely fully working on a VAST 2.0 only player so I can know that VAST 3.0+ ...
0
votes
0answers
12 views

libxml_use_internal_errors(true) doesn't remove all warnings

I want to GET a XML feed using simplexml_load_file() and I want to handle the errors by myself. The problem is, libxml_use_internal_errors(true) does not remove all the warnings. Here is my exact code:...
0
votes
1answer
27 views

C# XML deserialization to DataSet within one table

I'm making a custom XML parser to read/edit a set of XML documents (21). All of them are having their own XSD and are valid XML docs. The XSD files were converted to serializable *.cs classes with xsd....
-2
votes
3answers
69 views

What are the solution for setText

How can I solve this problem? This error shows up when ('name.setText(Name)'). What are the suggestions to solve this problem? I already tried another solution but it still occurs. java.lang....
0
votes
0answers
16 views

Removing prefix from xml [duplicate]

I have a piece of XML that is prefixed with an "a:". I incorporated a regular expression removing the undeclared prefix "a:" from the xml in order for me to easily serialise it into an object, however ...
0
votes
1answer
26 views

Merge xml files with nested elements with attributes and values

With this solution I have an issue. Merging xml-files. My problem is, that I have to consider the values also. And the duplicates has to be removed. In this excample the entries with FileB.txt are ...
-1
votes
0answers
33 views

How can i find empty null/child in XML

I need to find null and write space. I can tried some things but i did not. I can tried some things but i did not. I can tried some things but i did not. I can tried some things but i did not. I can ...
0
votes
1answer
23 views

Xamarin toolbar item on IOS not aligning properly

I am having difficulty in aligning a toolbar item to the far right on the IOS build of a Xamarin application, although, on the Android build, it works perfectly fine and aligns the toolbar item to the ...
0
votes
0answers
11 views

Shape selector with targetApi

Can i use targetApi attribute inside a drawable to create a Selector so if device supports ripple than it will use item with ripple otherwise it will use item with simple shape?
0
votes
3answers
29 views

C# Xdocument Xml get Element

I have a xml file that looks like this: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetAllArticlesResponse xmlns="http://www.borger.dk/2009/...
1
vote
1answer
22 views

How to add favorite_List Activity using sharedpreference to ListView activity in android

The is the type of listView i'm trying to create: When a user clicks on list, it takes the user to newActivity where the user will find the full content of the listView. And on longPressed adds the ...
0
votes
1answer
9 views

Yang model validation error. Element not allowed anywhere, expected end-tag

I have the following YANG model. I want to validate the model against custom xml data. module turing-machine { namespace "http://example.net/turing-machine"; prefix "tm"; description "...
0
votes
0answers
8 views

What is this Youtube timedtext file format?

I captured some subtitles on Youtube in XML format. But it is hard for me to understand the meaning of tags and the algorithm how to calculate the exact time of each word. One of the subtitles is ...
0
votes
0answers
31 views

How to download a xml file using java which is opened in browser?

I am using java and vaadin 14 as a framework. I created a xml file. It created successfully and shown in browser. But it cannot be downloaded automatically. I have a code below for creating and ...
0
votes
0answers
18 views

How to get data from multiple tags in xml using ElementTree and writing it into multiple rows of a list or a dictionary in Python

I am trying to parse through an XML file which has multiple tags inside the root tag. I am able to get the values but the text from the first tag is being overwritten by the text from the second tag. ...
0
votes
1answer
12 views

Inherit parents data for all the children in the xml data file

I'm working on creating an XML file. For simplicity, let's say its school students data and all the students go to the same school. Below is the example XML with 3 students. As you can see, I need to ...
1
vote
0answers
10 views

XSD: Restrict a element which has restricted attribute [duplicate]

I'm learning XML and XSD and I'm stuck and can't find a way around this problem: I'm trying to restrict an element which has a restricted attribute 1)The element "year" can only have 4 digits. 2)...
0
votes
1answer
21 views

Limit the number of posts per tag on Blogger

I have this code that displays posts by tag on the blogger. Would anyone know help me format it so that it only displays 4 posts? The Code searches the blogger XML for existing posts but only ...
-1
votes
1answer
24 views

C# XML deserializer ignores element with @ symbol

I'm deserializing an XML document: <Config> <Form> <Email>[email protected]</Email> </Form> </Config> Using the following c# code: class ...
-1
votes
0answers
7 views

Categorizing DBLP data from list of journal and confrences [on hold]

I am working on dblp data, which provides an open bibliographic information on major computer science journals and proceedings. My task was to push data of dblp.xml into database and then for the ...
0
votes
0answers
6 views

RETURN <ID node> from XML, after Search <NAME node> from the same XML

and Hello everybody ! Please help me. I have this XML: <?xml version="1.0" encoding="UTF-8" ?> <root> <row> <id>1</id> <nume>Buftea</nume> <...
0
votes
0answers
21 views

XSLT transformation without ouptut [duplicate]

I am trying to transform a XML file to an html page using the XSLT transformation. I want to write on the html page all the words between the "mot" tags, but i only get the title "dictionnaire" ...
0
votes
1answer
40 views

Handle Request with application/x-www-form-urlencoded content-type but XML body in NET Core Web API

I have a .NET Core 2.1 Web API controller and method that is supposed to consume POST XML requests from an external service via HTTP. Below is the method header of the controller action. [...
-1
votes
0answers
23 views

Best way to serialize part of XML

I have an XML document and developing desktop application that allows the user to modify it. The XML has a root element and several children nodes and the user can modify and save only one of child ...