Questions tagged [xml]

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

-1
votes
0answers
7 views

Oracle 12c - ORA-22814 DBMS_XMLSTORE.insertXML

I have a xml file which failed to process with the following error: ORA-22814: attribute or element value is larger than specified in type Error_Backtrace... ORA-06512: at "SYS.DBMS_XMLSTORE", line ...
0
votes
1answer
10 views

How to Include Something Like ™ in a Sitemap

I'm trying to generate a sitemap using php, and I'm getting errors because some of my product names include "&trade". I know that & needs to be escaped to &amp, but I'm unsure what to do ...
0
votes
1answer
16 views

C# XML Deserializing No Errors

I am currently trying to deserialize an xml string to a C# object. I am getting no errors. Just nothing ends up in the list. The XML is contained within a URL. I have used A xml to C# object ...
0
votes
0answers
5 views

How to compare XML values with fixed values (plain text, sql db)

I'm starting with Java, and I have to do a program in which I can compare the values ​​of an XML file, with values ​​that are already predefined to detect errors in the file. You can guide me how I ...
0
votes
0answers
8 views

Putting Namespaces into Different XML Tags in Python

I have an xml file in tmp/Program.ev3p: <?xml version="1.0" encoding="utf-8"?> <SourceFile Version="1.0.2.10" xmlns="http://www.ni.com/SourceModel.xsd"> <Namespace Name="Project"&...
0
votes
0answers
5 views

Why does Joomla add xml tag if article contains word “XHTML”?

I have a problem with Joomla. When text of article contains word XHTML (uppercase) Joomla adds tag <?xml version="1.0"?> above html tag it looks like this: <?xml version="1.0"?> <!...
-2
votes
1answer
17 views

RegEx to fix XML Attribute [duplicate]

I am using the latest Notepad++ and would be grateful for some RegEx development help. I need the RegEx to focus on only the * located to the right of colwidth attribute. Below are a couple examples ...
0
votes
2answers
23 views

Output XML directly to file from SQL server

Output the results (XML) of a stored procedure to a file. I have a stored procedure in SQL server that creates an XML file. It currently displays the resulting XML and I have to manually save as a ...
0
votes
0answers
10 views

How to post large xml data in request.postAsync()

I am trying to post large XML data to another server but getting repeated string if i used Content-Length': Buffer.byteLength(xmldata) also i used Content-Length': xmldata.length so getting same ...
0
votes
0answers
11 views

Combine Contents of Elements with the same name, over an xsl template

I am trying to group elements whereby the child nodes are equal. I am having a bit of trouble doing this, but at the same time I need to apply this logic on top of 2 existing templates in the XSLT. ...
0
votes
1answer
5 views

Removing multiple nodes from xml

I don't have any experience to create xslt transformers. please some one can help me to to transform bellow xml? <Top> <cod>a<cod> <types> <type> ...
0
votes
0answers
14 views

Sending POJO containing XML Document via Spring MVC

i try to post a POJO from one Spring Boot&MVC app to another. This all works fine except for one case, in which the POJO contains a w3c.dom.Document XML attribute. The POJO is quite simple, all ...
0
votes
2answers
26 views

Create XML with variabile rows

I am creating XML VB.Net and have a problem with adding rows. The XML should have a different number of rows (some 5, some 100,...) and also with different values in the attributes. Sub test() ...
0
votes
2answers
34 views

How do I create and fill an xml file? [duplicate]

I'm trying to create and fill an xml file with information. I'm unsure of what to do to make it work. I have a list of items. The list is of type IEnumerable. The Items are of my class MyItem. MyItem ...
0
votes
2answers
30 views

How to convert XML to hash map ignoring parent-child relationships

I have this XML: <XmlParent> <name>koraytugay</name> <bar> <baz> <to>Tove</to> <qux>00000001</qux> ...
0
votes
0answers
6 views

ZUGFeRD multiple deliveries on one invoice

we plan to implement ZUGFeRD in our software. So far we have a working solution if only one delivery note is on the invoice. But now a customers wants to use ZUGFeRD also when more than one delivery ...
1
vote
1answer
33 views

Loading game tile data from XML and using jQuery to render new tiles [on hold]

As a fun project I decided to try and create a top down 2D game engine in HTML, CSS and JavaScript. I have the basics down, generating a grid and moving that grid when using the arrow keys to simulate ...
-1
votes
0answers
18 views

Permission denied issue while writing into a file in clearcase using python

Getting PermissionError: [Errno 13] Permission denied issue while trying to write into an xml file present in clearcase using python tree.write(locationXml, pretty_print=True, xml_declaration=True,...
0
votes
1answer
20 views

Variable in xslt and loop

I have the following xml <Request> <Record> <ID>123456789</ID> <OtherID>ABC123</OtherID> <Title>Example</Title> <...
0
votes
1answer
23 views

How to sorting parent elements only by their root nodes in XSLT?

I got a XML file looks like <root> <number>1</number> <number> <deleted>0</deleted> 3 </number> <number>2</number> </root> I want ...
0
votes
1answer
13 views

Transform XML to PDF using XSLT with nodejs

I have xml file that contains remote xsl stylesheet link. I need to convert that xml to pdf? I have tried Prince but it is not adding desired style. Is there any other package that i can use for this ...
2
votes
1answer
19 views

I want to add x customers on Prestashop via code but with extra fields

I'm trying to add customers with a code but the PrestaShop is giving me a bug. Im using PHP and XML $XMLRQString = '<?xml version="1.0" encoding="utf-8"?>'. ...
0
votes
0answers
5 views

How to find or Fetch Nested Elements in XML with NameSpaces

I want to Access XML Elements and Attributes with Python3 and I m using xml.etree.ElementTree .How can i find nested elements with Python? I tried with Python 3 ,i tried with simple xml with no ...
0
votes
2answers
24 views

How to use svg images inside a next js components?

In next.config.js - I added config which is needed for using svg images. const withCSS = require('@zeit/next-css'); const withSass = require('@zeit/next-sass'); const withImages = require('next-...
-1
votes
0answers
10 views

How to run .sql files in sequence from XML file using PowerShell script

I have a XML file which contains the information about my deployment environment like Dev, SIT, Prod, and sub-tags contain the information about the database connection and credentials. Now I define ...
0
votes
0answers
12 views

Can't fetch c-namespace and p-namespace for my bean XML configuration file

I recently started some spring tutorial. When I try to add c-namespace and p-namespace in my XML configuration file and fetch it form external resources Im getting the error. I tried to go to the ...
0
votes
0answers
12 views

generating Java Soap request SAAJ API

I have to connect to an external web service. I am using SAAJ api for creating the XML request to send over. The SAAJ api generated some default code that I don't know how to get rid of. 1st example ...
-1
votes
0answers
34 views

How to read xml attribute [duplicate]

On Delphi 10.1 berlin, i'm using xml to store data. To write the data , i'm using this code : xmlDocument := NewXMLDocument(); xmlDocument.Encoding := 'UTF-8'; xmlDocument.options :=[...
0
votes
2answers
20 views

XML 2 Array Markup in Text Issue

I'm struggeling with the following problem. I try to convert an xml document to an array in PHP, which is working fine so far. But I do have some special elements which contain text with markup in it. ...
0
votes
1answer
21 views

How to make the layout of fragment with height of the screen height except bottom navigation view?

I faced with the following problem: I need to make a fragment, which height would be the same as height of the screen except bottom navigation view. Here's my layout: <?xml version="1.0" encoding="...
1
vote
1answer
33 views

How to set attribute value with “&” char

How to add "&" char into XML attribute node? I'm using xml.dom.minidom I'm trying to build XML in Python and original text which I want to set as an attribute contains '\n'. I need to replace it ...
-1
votes
0answers
17 views

How to do a small change in XML file of an External Library jar file included in my Android Studio project as a dependency? [on hold]

I'm working on an Android Studio project in which I've implemented 'com.github.jeroenmols:LandscapeVideoCamera:1.3.0' as a dependency. I want to edit the activity_videocapture.xml layout file and ...
0
votes
1answer
43 views

How to fix activity not showing when run

I am creating a chat app in which you can create groups. to create groups I have created a new activity. it shows up in preview but won't show up when I run the app and open the activity. I tried on ...
-1
votes
0answers
18 views

How to creates automatic vendor bill after validating the shipment in odoo 12?

I'd like to share my problems to you all regarding my codes. So, in this case here, i'd like to create an automation on vendor bill right after i validate a picking. So after validate the shipment in ...
-5
votes
0answers
16 views

How to view XML of a webpage [on hold]

Im trying to make a scraper to get the weather from https://www.yahoo.com/news/weather/ but I am unable to view the xml content of the webpage. when I try inspect element, I see the html but not xml. ...
0
votes
3answers
48 views

I have a loop i can't end on python

I've been doing some Python's code for a course i'm in and i have a problem with a loop i can't end. I don't know where it comes from. I have tried to put a break on every single "elif" but that's ...
1
vote
1answer
32 views

How to programatically extract XML data from draw.io PNG

Long story short, I want to be able to extract the XML data from a PNG saved from draw.io using PHP or JavaScript in the browser. I am using draw.io images with layers to document physical ...
0
votes
0answers
7 views

Axios/Fetch can't set headers 401 unautorized [duplicate]

I am trying to hit service by get request and it is using basic auth. Response is XML. What i get is. 1) in first configuration I get 401 in console but second line is 'data' but not data response ...
0
votes
0answers
9 views

How to add article code to account invoice in odoo

`class Wtgpurchase(models.Model): _inherit = 'produenter code herect.template' code_article = fields.Char(string='code_article') class WtgFacture2(models.Model): _inherit='account....
1
vote
1answer
23 views

How to parse xml with multiple xmlns attribute in c#?

I have an xml beginning like above <Invoice xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2../xsdrt/maindoc/UBL-Invoice-2.1.xsd" xmlns:xsi="http://www.w3.org/...
0
votes
1answer
15 views

Javascript error: Accessing the 'arguments' property of a function is not allowed in strict mode [duplicate]

Rewriting my original question since I was told its a duplicate which I feel it isn't. I am new to jQuery AJAX. I have a ASP.NET WebForm that I'm trying to now connect to a generic handler. I'm ...
0
votes
0answers
19 views

How to ignore a folder, with classpaths in it?

I have a repo with many sources of code. I want my POM.xml to generate me a jar file, while ignoring certain folders with code that might not be complete. All I need to know is, how do I exclude ...
0
votes
1answer
14 views

jQuery and XML, find object that contains children with multiple specific values

For a project I have data stored in XML like this: <xml> <sprites> <sprite> <name>Tile1</name> <lat>1</lat> &...
-5
votes
0answers
17 views

Pdf generation using XSLT [on hold]

XMl NatureDesc tag contain "10(6)" and I want to show in pdf "10(10BC)-working outside india" dynamically. Using XSLT template. enter code here <ITRForm:ExemptIncAgriOthUs10> ...
1
vote
0answers
32 views

Autorest rest client code generator not working for XML response type

I am trying to use swagger 2.0 and https://github.com/Azure/autorest (Autorest ) to generate a C# code for a Rest Enspoint. They work fine if API service response type is application/json but if it is ...
-1
votes
0answers
18 views

Editing Zip file file names and contents [on hold]

Essentially I have a base zip file with two XML files inside of it. I already have the functionality set where I can copy and paste the zip and rename the zip itself. I still need to edit a file name ...
-3
votes
0answers
11 views

tomcat server basic authentication [on hold]

I have a tomcat server .Application are deployed not by me but it is accessible from everywhere.I want to add basic authentication.I try some code but still not working.what I have to write on web....
1
vote
1answer
16 views

How to change the timestamp security header in a wcf client?

I am trying to modify the default expiration time of the security header which is 5 min to 1 min. One of the security policies of the server is a timestamp (the date of the request), with a Time to ...
0
votes
2answers
32 views

How to sorting nodes along with their following siblings in XSLT?

I am trying to sort an XML file by a child element value using XSLT. The sorting element has a following sibling should always be after it. The XSLT I have done so far: <xsl:template match="...
0
votes
0answers
11 views

XML Parser - Minidom, nested lists according to ElementTag

I parse a xml file with minidom (I tried Element Tree, but I found easier to do what I do with minidom; might prove me wrong now :)) Let's say my xml is as follow: <country name="UK" area = "...