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

How do I display XML data in a HTML table using Javascript?

I am trying to create a HTML document that will read an XML file, and use that data to populate a table, using javascript. I have tried following a few examples online but for some reason, I can't ...
0
votes
1answer
12 views

DexArchiveMergerException Program type already present: a.a.a

i am getting this exception AGPBI: {"kind":"error","text":"Program type already present: a.a.a","sources":[{}],"tool":"D8"} com.android.builder.dexing.DexArchiveMergerException: Error while ...
0
votes
0answers
3 views

Adding shadow to bottom of ActionMenuView

Im trying to create the following: How is it possible to add this "shadow" to show the step between the layout components. If it is not possible by using ActionMenuView I had like to know what to use....
0
votes
0answers
7 views

how to open a BaseX database from the context in a FLOWR for XQuery?

How do I set the context as a specific database and then reference that database in a FLOWR? PS C:\Users\thufir\Desktop\basex> PS C:\Users\thufir\Desktop\basex> PS C:\Users\thufir\Desktop\basex&...
0
votes
2answers
29 views

change ImageView while true or in if loop?

I try to change my imageView every seconde, I think my code is correct but there is a probleme with thread or something like this, because I have a black screen when my activity start while(true) { ...
1
vote
1answer
20 views

Find duplicate child nodes in Oracle

I have a column in oracle database that stores XML data. For some reason, a query of mine was not checking for existing nodes while inserting it and hence has caused duplicates nodes in few rows. I ...
0
votes
0answers
7 views

Resizing Imageview from Screen Size

I'm new to android development and am currently having some trouble using an Imageview. As is, i have an Imageview that works great on larger resolution devices and takes up the whole panel, however ...
0
votes
1answer
18 views

Is there a way to take the output of a (HH24:MI:SS - HH24:MI:SS) and convert it to only minutes in oracle sql?

So i am putting the sql code in that i have shown below and my output that i get from the ProcessEnd minus ProcessStart is the duration time which comes out as "0 0:0:8.135". However, i need it to ...
-1
votes
0answers
19 views

Improve Server Performance Third Party XML Processing

We have a third party REST service which provides XML data. This XML data is around 1 MB in size and not all data is of our use. They can't provide specific data so we have to live with the whole data ...
0
votes
2answers
17 views

How can I hide (slide down basically) the Button (which is aligned at the bottom) whenever the recycle view is scrolled in android studio using java

I know how it can be applied to the toolbar w.r.t. any scrollView in Coordinator layout. I wanna do the same thing with the button w.r.t. RecycleView. Just like the bottomNav in the app Pinterest. ...
0
votes
0answers
8 views

Attribute android:layout_width is not allowed here (miwok project)

I wanted to import the miwok project from udacity courses about Android basics but i'm having this kind of errors "Attribute android:layout_width is not allowed here" in my activity_main.xml , so ...
1
vote
1answer
18 views

How to access value of xml element in PHP?

I'm creating the XML parser and I need to get the value of element, but I can't. $dataURL = "<item internal-id='187'>Test</item>"; $xml = simplexml_load_string($dataURL, "SimpleXMLElement"...
0
votes
1answer
30 views

How to modify the text of nested elements in xml file using python?

Currently I’m working on a corpus/dataset. It’s in xml format as you can see the picture below. I’m facing a problem. I want to access all ‘ne’ elements one by one as shown in below picture. Then I ...
1
vote
1answer
30 views

How Can I Parse an XML file using XmlNodeList

I have been tasked with taking one XML file and converting it to a new XML I have no experience working with XML documents but I have been able to get some of the data from the first XML document ...
0
votes
0answers
11 views

XML Split & Name solution

Im needing to not only split an xml file, but also have the output file name based on an element in the xml. (my files usually are under 10 mbs) example xml <Default> <Item> &...
0
votes
0answers
15 views

Horizontal Scrollview inside Scrollview

I am stuck in Horizontal Scrollview inside the scroll view. I can scroll horizontally (Child) but vertical scrolling (parent) isn't working.
0
votes
0answers
10 views

Given a valid xml document loaded into a xerces DOMDocument, how can I search the XML for a node and update the value?

I have all the code written and working to read in a large xml document using xerces-c and the DOMDocument is valid and correct. The file is a large set of configuration options for a device the ...
0
votes
2answers
25 views

XPath for text following link?

Can you help me write an relative XPath for the below HTML to get the para text 'You are an employer' based on link 'Emp': <div class = "dummy"> <h2 class="dummy2"> <a class="dum3" ...
0
votes
1answer
11 views

XML/XSLT: How to add attribute to element

I need a nudge in the right direction on using XSLT to transform XML to XML. This is my source XML: <Master> <Camera CamID="007" Name="Cammie"> <CameraUptime Uptime="20"/> ...
0
votes
0answers
4 views

Unwanted generation of namespace prefix using tHMap after 7.2.1 upgrade

Since the Talend upgrade to version 7.2.1 i'm experiencing some issues with the xml namespace, more precisely: I'm having a job that generates xml's using a tHMap component based on a predefined ...
0
votes
0answers
22 views

Parsing Large XML files efficiently using R

New here. I use R a lot, but I'm pretty unfamiliar with XML. I'm look for advice for efficiently looping through and aggregating large XML files (~200MB) from here. I have XML files with elements that ...
0
votes
1answer
17 views

XML serialization with no value

How to serialize in c# <Tag> <Export /> <Delete /> </Tag> The problem is node has no value. Node present in xml means it is true(bool).
-1
votes
0answers
18 views

XSLT transformation (using MSXML 3)

I want to convert an XML file to HTML using the XSLT method in C++. I already tried the CodeGuru method https://www.codeguru.com/cpp/data/data-misc/xml/article.php/c4565/Doing-XSLT-with-MSXML-in-C.htm ...
0
votes
0answers
19 views

Convert XML Node (w3c) to String XML representation [duplicate]

I am desperately looking for a library or snippet to convert a XML Node into a string representing the Node element. I only find String > XML guides. I found the Spring Shell library XmlUtils which ...
1
vote
2answers
33 views

HttpWebRequest.GetResponse Returns 404 but URL works in browser

In a console application in C#.NET, I need to get the XML from this URL : https://bdm.insee.fr/series/sdmx/data/SERIES_BDM/000008630?startPeriod=2019 When I put the URL in my browser in works fine. ...
0
votes
2answers
24 views

C# Serialize object into xml without formatting

I need to serialize a c# object into xml, i could do it as in formatted section, but can we achieve it without formatting that has no indentation/extra spaces/new lines. This is required as we need to ...
-2
votes
0answers
16 views

Не работает xsl шаблон [duplicate]

Я пытаюсь преобразовать с помощью шаблона документ. Но у меня не выходит... Знаю что из-за xmlns="http://www.kontaktfarm.kz/Price" . Объясните по подробнее почему?... Как именно стоит использовать эти ...
0
votes
0answers
16 views

Identity template and priority creating duplicate nodes in XSL

So I have the following XML input: <parent> <para> text 1 <NodeTypeA id="1">element1</NodeTypeA> text2 <Xref ref="1"/> text3</para> <para>text 4</para&...
1
vote
0answers
12 views

Not sending XML command with fixed header via TCP/IP using Java

I'm new to Java (basically had to learn it on the fly for this project), but I'm trying to send an XML command to a server to get some data from it. To do this, I've written a Java program and I'm ...
0
votes
1answer
21 views

Serialize xml to c# object

I have been having a few problems with trying to serialize my XML to a C# object. I am getting multiple "System.InvalidOperationException". Errors : InvalidOperationException: There was an error ...
0
votes
0answers
5 views

Xmlsec1 fails with files bigger than 10MB

The error I am receiving is this: /tmp/tmpSIGNeACa4C:1: error: xmlSAX2Characters: huge text node: out of memory How can I sign files this big?
0
votes
1answer
34 views

How to change text on the TextView widget by using a Spinner dropdown

I got a practical to do. I have to make a measurement converter android app using java. It involves using a spinner dropdown menu. This link is the image of my practical handout. As shown in the ...
0
votes
1answer
16 views

How to force xml2js to output array for certain keys?

I have some XML which I want it to output into an array. But when only one item exists, xml2js outputs the one item to an object. When there are multiple items, it outputs as an array. For consistency,...
0
votes
0answers
17 views

Can't scroll when adding scrollview or nestedscrollview inside viewpager

i'm facing issue is that app can't scroll when i'm adding scrollview or nestedscroll view inside viewpager element This is the viewpager in the XML file <androidx.viewpager.widget.ViewPager ...
1
vote
0answers
16 views

XML::LibXML::Reader need warn on schema errors instead of exit

Basically I need to use the schema option from the perl module XML::libXML::Reader in order to validate a large (>1GB) XML file as the file is parsed. Previously I have used the xmllint command to ...
0
votes
2answers
31 views

how to set namespace using a Param to my root node in XML using XSLT

I have a payload as below: <queryCompoundEmployeeResponse> <CompoundEmployee> <name>tester</name> <person_id_external>12345</person_id_external> </...
0
votes
0answers
8 views

Deserialize the soap xml response in a .netcore app

I have to call a soap service from a C# .net core app and get the results in a class that I can use to do some logic. I did the soap request and the remote call works fine, but now I have to ...
0
votes
1answer
18 views

Need to take the label attribute into the title

I'm having the xml be like: <sect1 label="Chapter 1:"> <title>Pass</title> <sect2 label="1.1"> <title>Pass 1</title> <sect3 label="1.1.1"> ...
0
votes
0answers
16 views

Java SOAP 1.5 XML construction issues

I am developing a Java SOAP 1.5 client application which communicates with a SOAP server endpoint. However, the constructed XML request is not what I expect, and it is returning a fault response ...
0
votes
1answer
27 views

find all descendants that has text in any element which starts with something in xml

Hi I am trying to find all root nodes/descendants with any child node that has text, which starts with a namespace in this format: AAA__ <profile> <apexClass> <...
0
votes
0answers
13 views

Custom Seekbar with on top value

I'm trying to make some Seekbar for my app as a distance value. I had liked it to looks something like this (image was taken from - link): Can someone please show a simple example of how to make ...
0
votes
1answer
24 views

Parsing Nested XML with Namespaces in PLSQL

I have an xml that looks like below <ibm:dept bldg="123" xmlns:ibm="http://www.ibm.com/xmltable"> <ibm:employee id="144"> <ibm:name> <ibm:first>James</ibm:first&...
0
votes
1answer
26 views

split node contents in two when encoutering a specific node

Ok so here's the XML document I have: INPUT <parent> <para> text 1 <NodeTypeA>element1</NodeTypeA> text2 <Xref ref="1"/> text3</para> </parent> I would ...
2
votes
2answers
19 views

Access Rules on project.project Odoo11

I have a new group (Project Lead). This group needs to read other projects, and write his own project. Example: user1 is a manager in project001 and user2 is a manager in project002. We need for ...
0
votes
0answers
17 views

Class from XSD folders/schemas

I've done before when i have XSD schema and by running simple script it would created me a .NET class xsd.exe File-v1-0.xsd /classes /language:vb Dependcy-v1-0.xsd Dependency2-v2-1.xsd /out:c:\...
0
votes
0answers
9 views

how to add namespace in child element of an xml

Below is xml for which i have to create an xslt. Can anyone tell me how should add a namespace in a child node (Info) <Request> <Info xmlns="http://hgkl.kj.com" xmlns:xsi="http://...
1
vote
1answer
29 views

JAXB XML Dynamic Unmarshalling

So I have a couple of XMLs which I'm trying to unmarshal. One XML can look like this: <TABLE> <RECORDS> <RECORD> <DOC_ID>some value</DOC_ID> ...
0
votes
0answers
24 views

find and replace text in xml

Trying to edit the value of maxTreeAgeInit="50.0" in an xml file (outline as follows) middle of my xml file (xml version="1.0" encoding="utf-8") of interest: <InitTreeF treeExistsInit="true" ...
0
votes
0answers
10 views

Is there a way to display current time with marker in event timeline viz in splunk?

Is there a way to display current time with time marker in this dashboard in splunk?
0
votes
1answer
14 views

How to access <dc:creator> from a RSS XML feed using Nokogiri

Using Nokogiri I am able to access XML elements as follows: feed = "https://www.coachesvoice.com/category/masterclass/feed/" # Using HTTParty to get the the feed and save it as rss rss = HTTParty....