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
6 views

Tyring to take an xml/xslt table and place it onto a html webpage

I've recently made up an XML file for a project, accompanied with an XSLT Stylesheet to produce a simple table format once the XML is loaded into my web browser. Alongside, I have an HTML website that ...
0
votes
0answers
9 views

Fix button position on different screens

How can I make the 0-9 buttons not moved on different screens? I want it in a fix position on different screens.
0
votes
0answers
10 views

bash script to replace xml element value with url

I am following this solution to replace xml values on my CI server. We have a mobile app using the Appcelerator framework and I need to replace the tiapp.xml file with the the build number (for ...
1
vote
1answer
10 views

Python BeautifulSoup Won't Return Tag from XML

Given the below XML named test.xml in my working directory: <workbook> <style> <style-rule element='worksheet'> <format attr='font-family' value='Tahoma'...
0
votes
0answers
16 views

Prism: the default xml namespace of the project must be the msbuild xml namespace

I am trying to access the example prism projects that you can find here: https://github.com/PrismLibrary/Prism-Samples-Wpf However, after downloading the repository and trying to open any of the ...
0
votes
1answer
17 views

Need to change the encoding format based on one of the XML tags

I am using XSL style sheet and XML to generate a text output. I need to pass one of the XML tag values to the encoding format but couldn't find the syntax. Can you please help? I tried to store the ...
0
votes
2answers
32 views

How to grab first child of its kind

I am trying to capture data from two nodes that have the same name. I am using the find method but it always pulls the value that is nested as opposed to the first child node. I've tried a few ...
0
votes
1answer
15 views

Keyboard opens when start the fragment and scroll

I have a scrollview in my fragment and when the fragment opens the keyboard appears automatically and focuses on the first edittext of the layout, and the screen scroll and I cannot see all the fields ...
0
votes
0answers
15 views

SQL find specific nodes and return their values (json) as excel formatted results

There is a xml column (ArrayOfString) with json string results. I need to find specific nodes and get their value. <ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://...
0
votes
0answers
9 views

Java simple GET request returns full SPA instead of XML

I want to make simple REST parser. I have a problem with recieving information from https://www.tumblr.com. I want to get XML file with full history of user's posts, which can be achieved from https:...
0
votes
1answer
14 views

Trying to understand XPATH Filtering for Windows Event Logs (XML)

So right now I am trying to set up and configure Windows Event Collection by using a Collector Initiated Subscription. Currently, I am only collecting Security Event Logs 4624 and 4688. I'm seeing a ...
1
vote
0answers
7 views

Basic XMLhttprequest retrieving json file data

I have a basic XML request that gets data from a json file stored on my server. Once the request is loaded a function is called that stores the responseText in a variable called data. Once the data is ...
0
votes
0answers
15 views

How to read XML data and parse into staging table in Oracle

Can anyone let me know how to parse below XML data to load into staging table <?xml version="1.0" encoding="UTF-8"?> <FIXML r="20030618" s="20040109" v="5.0" xr="FIA" xv="1" xmlns="NA"> ...
1
vote
2answers
46 views

How to prevent “Date & Time” conversion while converting a json string to XML doc

I want to convert a JSON response to an equivalent XML document but while doing so, I also want to preserve current date and time format along with the offset e.g., DateTime in JSON is "2019-10-25T07:...
-3
votes
0answers
15 views

how to comment XML lines in Java if input is line no?

Can we go to particular line of xml by Java code
0
votes
1answer
9 views

AWS API Gateway returns 403 when XML versio header is present in xml body

I have API Gateway endpoint that calls API on ECS. Endpoint is supposed to receive XML and parse it internally. The problem is no matter what model I used for request body (or even without body ...
0
votes
1answer
12 views

Is it Possible to Parsing a complete CCDA xml file Using Go?

I would like to Parse an complete CCDA XML file by using any library available in Go. I tried to parse the CCDA XML file by using the https://godoc.org/github.com/clbanning/mxj library. In this one we ...
0
votes
1answer
16 views

XPATH: how get .length of 1st element group and .length of 2nd element group inside 1st group?

I'm working with xml files having the structure set out below. <GroupType1> and <GroupType2> need to be processed separately. In either case, I want to loop through the <...
0
votes
0answers
9 views

Extracting data from XML source using powershell Part II - Pulling data from a CSV to use against a particular field or function

So two scenarios: Sample of Data Source: <Person lifenumber="21596" lname="LOVER" mname="J" fname="JERRY" affiliation="Hospital One" email="[email protected]" building="" floor="" room="" phone="...
0
votes
0answers
14 views

Android Recycler View - reverse layout inside Constraint Layout

I have a RecyclerView inside a ConstraintLayout which is constrained at the top to the parent and at the bottom by an EditText. This works fine, however as soon as I set the recycler to reverseLayout=...
0
votes
0answers
9 views

Python SAX Parser: resolveEntity

I am having a hard time figuring out how to bind a ResolveEntityHandler of my own to a SAX parser. On SO there this answer. But unfortunately I cannot reproduce the result there. When I run the ...
0
votes
0answers
22 views

use javascript to parse a nested XML matrix

I have an xml file that is a structured Restaurant menu and I need to display the menu in an html page. I thought I complimented the xml correctly but I didn't. My page does not work correctly at all ...
1
vote
1answer
21 views

XMLQuery to INSERT/DELETE XML Elements

I am trying to get a taste of XML manipulation in Oracle PLSQL. All the examples are of modifying XML stored in table column but I am trying to modify a XML variable. Here is my code - declare l_xml ...
0
votes
0answers
18 views

xml tree module in python to convert a dataframe to xml file

I am trying to convert a python dataframe into xml file. I went through this documentation https://docs.python.org/3/library/xml.etree.elementtree.html#module-xml.etree.ElementTree However, I could ...
1
vote
0answers
14 views

How to navigate to another page after clicking the image

I have developed a memory game which works perfect. In the game page, when a match is found, the image is displayed on the right side of the page. What i wanted is to navigate to another page when ...
0
votes
2answers
28 views

Android studio handle multipe users. How can I modify the clickable parameter of a layout?

I'm a beginner developer developing an app for different user's layout. In this app there are two kind of user, one that can read properties and one that can read and write properties as well. I ...
0
votes
0answers
15 views

Unity HttpWebRequest response shows as HTML instead of XML

I'm trying to make a POST request from Unity using HttpWebRequest WebRequest, I get only HTML code while in Postman I get the right results. I have tried using HttpWebRequest with StreamWriter, I ...
0
votes
0answers
24 views

Can't make an ElementTree object in __del__ of a global instance of a Python class?

I have a class Xml used for modifying an xml.etree.ElementTree.ElementTree object: from xml.etree import ElementTree class Xml: def __init__(self, file_path: str): self.__root = ...
0
votes
0answers
9 views

How to implement recursion in YANG model using leafref?

I have the following XML that I want to model with YANG. The XML contains a list of nodes and each node contains a list of neighbor nodes. <nodes> <node> <id>1</id> &...
0
votes
1answer
18 views

Using a .py script that cleans then splits a large MODS XML record to do the same for a Dublin Core XML record and I'm getting no output

I took an OpenRefine template for translating a csv to a giant MODS XML record, then a .py script for cleaning it and turning it into several smaller xml files, named using one of the tags. It works ...
1
vote
1answer
18 views

XPath in XML contains an element with two values

So I have an xml that has this specific line: <XPath>self::CS[contains(@channelID, 'RCS') and contains(@channelID, 'ISDN') and @available = 'yes']</XPath> My question is how can I ...
0
votes
1answer
18 views

Replace line in XML doc with wildcard

I am able to replace a line in a xml document using the following simple code. This works fine when I know the prior value, however I will not know that value and I am having trouble using a wildcard. ...
-1
votes
0answers
20 views

Keep \n in Xml serialization in C#

I have a class with some fields, as, for example, public class Abc { private String text; public String Text { get { return this.text; } set { this.text = value; } } } A stored ...
0
votes
0answers
14 views

Copy specific child node and all of its parent from External XML document using document() and then modifying value inside of the copied node

I'm fairly new to XSLT 1.0 and I'm currently having issues modifying the value inside the XMl nodes copied from the external XML document. Here is the external XML file "External.xml" that need to be ...
0
votes
0answers
14 views

Essential components for making a SOAP request [on hold]

I'm new to SOAP web services but now I have to develop one (a consumer) of that. I've never worked with that before. :( However, I worked with REST on so many occasions and know quite a lot about it. ...
-1
votes
0answers
30 views

EXCEL VBA: How to append a line to this XML file below

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <_XPXML> <_FTrans Acc="1/0/01/02" Det1="03/0654" Det2="16/0002" Deb="10535129" Cre="0" Desc="10791" RefN="0" UnitAmount="1623....
1
vote
0answers
15 views

XML to JSON Conversion using STAXON

XML to JSON Conversion using STAXON. Can this conversion would be datatype specific, meaning keeping a JSD(Json Specific Definition) and let the converter know the datatypes to convert in to JSON. Is ...
0
votes
0answers
14 views

Configure JAXB marshaller to use child class instead of parent without using annotations

I generate classes from soap schema that uses types extention and by default JAXB marshalls only in parent class. Part of soap message I have problem with: <Value i:type="StringValue"> <...
-1
votes
5answers
41 views

Android Spinner no items shown only arrow

Hey I already checked a lot of other questions about this problem but all the over solutions didn't helped. So my problem is that I also just see the arrow of a spinner and no items are shown. So I ...
-1
votes
0answers
19 views

Error while adding items to ebay, getting this error “Email address cannot be used for PayPal payments at this time”

Error while adding items to ebay i am getting this error: Email address cannot be used for PayPal payments at this time <Errors> <ShortMessage>Email address cannot be used for ...
0
votes
2answers
31 views

How to parse XML ordred list into table view

How to parse XML ordered list like this <ol> <li>value1</li> <li>value2</li> <li>value3</li> </ol> into table like this (like it's visible in ...
0
votes
2answers
22 views

how to insert a variable in xml payload data and get the response

I am new in python. I need to get the data based via url. The data is based on a unique number which is in payload. I can't seem to find a way to initiate a variable in "CUSTNO" in payload and iterate ...
-1
votes
1answer
29 views

How can i modify home screen buttons appearance and behavior like button in https://ddownr.com/

Hey I'm a junior developer and I'm in the phase of modifying the home screen ui. How can i make my 4 buttons look like and have the same behavior as the top buttons in this website https://ddownr.com/ ...
0
votes
0answers
11 views

how to parse xml parameters & values separated on new line using logstash

I am trying to parse below xml file wherein parameter name & value is covered in 2 different tags and on separate line. I am looking for guidance on how to parse this xml data using logstash ? &...
0
votes
0answers
11 views

Controlling file size during jaxb marshalling

I need export data as XML using java. My problem is I have a constraint, my files can't be over 500kB and I have much more to export as XML file, so I need to make many xml files in order for it to ...
0
votes
0answers
9 views

How to add elements to XML file and keep original padding, python3

I am using Python's ElementTree library and I am trying to do the following: Open xml file Add few attributes to it Save it that it would looks exactly like the original (with added attrs ofc) Let's ...
0
votes
0answers
15 views

how to insert xml string as XML node into dom element in PHP [duplicate]

I have to insert a XML string into specific node. $domtree = new DOMDocument('1.0', 'UTF-8'); /* create the root element of the xml tree */ $xmlRoot = $domtree->createElement("Project"); /* ...
0
votes
0answers
14 views

Is there any resources to Show videos in RecyclerView from FireBase?

Show videos from firebase into CardView Recycler view is pretty easy but is there anyone to help me to show videos in RecyclerView which I already uploaded on my FireBase? Because the VideoView option ...
0
votes
2answers
19 views

Selecting multiple nodes using xpath in java

I an trying to get data using XPath. I can reach the data what I want, but when there are multiple data, only the first one is selected. And I want to count the number of target data. For example, ...
2
votes
0answers
19 views

JAXB unmarshal undefined elements to Map?

I have an XML to unmarshall: <?xml version="1.0" encoding="UTF-8"?> <ROW id='1'> <MOBILE>9831138683</MOBILE> <A>1</A> <B>2</B> </ROW> ...