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

Excel XML custom Qat OnAction Fail

I have Excel XML with the 'Office RibbonX Editor', found here: https://github.com/fernandreu/office-ribbonx-editor/releases/tag/v1.5.1 The XML is: <customUI xmlns="http://schemas.microsoft....
0
votes
0answers
7 views

How to Create a HTML Hex Entity with XSLT

I'm experimenting with writing an XSLT stylesheet to generate HTML from a Text encoded in XML according to TEI standard. Now, when it comes to special characters, I'm running into difficulties - here'...
0
votes
0answers
16 views

How to make code work merging several xml files into one xml

I cannot seem to get code to work in this link. I do not know how to write it. I made 2 files, one xml and one xsl. It is the first to codes in this page. https://docstore.mik.ua/orelly/xml/xslt/...
0
votes
0answers
17 views

How to display html taken from xml file to page properly in Asp.Net Core 3

I am moving our FAQ's to an xml file in azure storage since they rarely change I don't want to hit the db for them each time. My structure is as follows <?xml version="1.0" encoding="utf-8" ?> ...
0
votes
0answers
15 views

JSPs not connecting to Servlets or pulling data from SQL

I'm making a banking application and none of the JSPs and Servlets seem to be working with each other, whether it's not connecting to the servlet, or not connecting to the database I've tried making ...
0
votes
1answer
14 views

i need to modify an xsd schema to perform a specific xquery

i need to modify sn xsd schema so i can perform a particular xquery looking for type name i have tried to play around with namespaces but i could not get it right. this is the xsd schema: <xs:...
0
votes
0answers
7 views

Android studio path from external-path

The path component corresponds to the path that is returned by getExternalFilesDir() when called with Environment.DIRECTORY_PICTURES. Make sure that you replace com.example.package.name with the ...
1
vote
0answers
22 views

C# - XML serialization - keep property value as it is [duplicate]

I receive an object from another application and need to serialize it into XML. The object contains several properties and one of them contains already serialized part of XML. How can I keep it as it ...
0
votes
1answer
18 views

I am using MYSQL with the EXTRACTVALUE command, and the below query returns BLANK when using the [@attribute=“value”] filter. Why?

Here is my sample xml: <GS-Pay> <index> <year>2017</year> <Step-One>28000</Step-One> <Step-Two>45000</Step-Two> </index> <index> <year&...
0
votes
1answer
21 views

Can a well formed xml document cause a rule to match partially?

Diagnostics are difficult Parsing isn't simple, but additionally providing good diagnostics can be a nightmare. Consider the following grammar: a ::= 'A' 'B' 'C' | 'A' | error The input AB would ...
0
votes
1answer
17 views

BottomSheet not transparent on declared “android:background” in styles.xml

I am in the following situation: I have an app with an white background so I declared the android:background in the styles xml. Problem: I want to show just a basic bottom sheet but I noticed, when ...
0
votes
1answer
20 views

Using Countdown Timer on additional page

Really new to Android coding & Java. I've got a simple date countdown timer which is working fine when it's on 1 screen, what I want to do is have that same code but on a 2nd screen. 1st ...
0
votes
0answers
6 views

XML Sitemap not adding all pages from dynamic site

I am trying to generate sitemap on https://www.xml-sitemaps.com but it's not working for all pages. It just added the basic & static pages like home, about-us, contact-us etc, but not dynamic like ...
0
votes
0answers
19 views

appcompat-v7 with black space at the bottom

Previously I used the usual AppActivity extends on the MainActivity public class. everything is fine and the application display is really full screen, but after I use AppCompatActivity on extends, ...
1
vote
2answers
27 views

How to write an AJAX call to get an XML file?

I need to write a web page with a button “Get Flight Information”. When the user clicks this button, write an AJAX call to get the XML file that you wrote in Question 1, parse the XML into a ...
1
vote
0answers
21 views

Why my TableLayout doesnt match different type of android screen?

I have a TableLayout inside my activity it works well in Pixel API 29 which is an android Pie like this one https://ibb.co/T138m8G. but when I tried my app in lower android version like android 6.0 ...
0
votes
0answers
29 views

Find a specific string after a defined string

I'm trying generating a .txt report based on .xml files for installed libraries. It should report Library SNPID Number| Library Name | Registry Key | Library Path. Sort by ascending number and finally ...
-1
votes
1answer
42 views

How do I display XML data in a HTML table using Javascript? [on hold]

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
16 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
5 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
13 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
31 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
27 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
19 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
24 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
19 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
9 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
28 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
2answers
41 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
32 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
13 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
18 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
13 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
13 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
23 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) [on hold]

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
34 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
25 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
17 views

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

Я пытаюсь преобразовать с помощью шаблона документ. Но у меня не выходит... Знаю что из-за xmlns="http://www.kontaktfarm.kz/Price" . Объясните по подробнее почему?... Как именно стоит использовать эти ...
1
vote
1answer
22 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
35 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,...