Questions tagged [xml]

XML (Extensible Markup Language) is a structured document format defining text encoding rules. When using this tag include additional tags such as programming language, tool sets, XML technologies being used, and other tags describing the environment of the problem posted. XML flexibility lends to a wide variety of uses for human and machine data transfer so be specific as to tools and libraries.

Filter by
Sorted by
Tagged with
1 vote
1 answer
12 views

How can I disable and mark Shopware 6 config field as obsolete?

How can I disable and mark Shopware 6 config field as obsolete? Hello, I am new to shopware. I have a plugin that has a config field I want to disable it mark it as obsolete. config.xml <input-...
Momy's user avatar
  • 43
0 votes
1 answer
30 views

Namespace in a webservices soap in C#

I dont know how modificate the namespace in a xml request in my webservices soap I am doing a web services Soap in C# standard iso 20022 and i have the request xml like this: I need to it see like ...
Roberto Villavicencio's user avatar
-2 votes
1 answer
29 views

xml form design

I just started coding xml in Android Studio and I would like to create a form where each field has the design shown on the image. My problem is to put the field name on the border of the field box. ...
Maxou's user avatar
  • 1
0 votes
0 answers
9 views

VS2022 cannot create wrappers for references? [duplicate]

(also posted this on Visual studio developer community) Hello, So i wanted to make a package which provides classes for windows.Forms, but when i went ahead and added a reference to it using: Add ...
brushymilbil's user avatar
0 votes
1 answer
14 views

Unexpected behavior of layout_constraintDimensionRatio

As far as I know if I use app:layout_constraintDimensionRatio="H,1:1 in an element, the height of that element will be fixed and then the width will adapt to be same size as the width, but in the ...
pequeñaluna's user avatar
0 votes
1 answer
11 views

Android Studio: Build folder in app directory erroring out

I am getting multiple errors in various files in the build folder, which is labeled with "Files under the 'build' folder are generated and should not be edited." I have a hunch that this is ...
Impossible guy's user avatar
0 votes
1 answer
15 views

How can I forward a SignalWire call to a Relay application from a PHP LaML webhook, and handle it in a JavaScript-based Relay application?

I'm developing a PHP application that utilizes SignalWire for handling incoming calls. I've set up a LaML webhook in PHP, and when a call is received, it triggers the webhook successfully. ...
Jithin Lukose's user avatar
1 vote
4 answers
64 views

How to insert (append) a string containing XML as XML into inner XML (or remove a parent tag but keep the content) with lxml in Python?

I'm trying to insert text into XML with lxml. The text contains XML which is supposed to become part of the XML it gets inserted into. The following code does not work: from lxml import etree tree = ...
qubodup's user avatar
  • 8,799
0 votes
0 answers
9 views

Xml Generation mismatch

When I run a script that generates an xml file in my server and on my local machine it generates two slightly different xml files how could that occur because the script is connected to the same ...
Derrick Amare's user avatar
0 votes
1 answer
23 views

how to modify couple of values in a xml file using groovy?

Below is my xml saved in a file. <?xml version="1.0" encoding="UTF-8"?> <tag0:Document xmlns:tag0="urn:iso:std:iso:20022:tech:xsd:pain.001.001.05"> <...
Indranisgt's user avatar
-1 votes
1 answer
21 views

xml.etree.ElementTree convert double tag to single tag in xml file

I mean how to convert MyBro tag from double to single with ElementTree? from: <MyBro>Steve</MyBro> to: <MyBro Name="Steve" /> P.S. QS what i did? Searched docs and whole ...
don't blink's user avatar
0 votes
1 answer
13 views

"org.apache.tiles.request.render.CannotRenderException: Cannot render an attribute that is not a string, toString returns: null" in Struts 2 app [duplicate]

I am working on a Struts 2 application that is integrated with the Tiles plugin. It works fine on my local computer. But when I deploy it to a UNIX server and try to navigate past the login page to an ...
Paul's user avatar
  • 1
0 votes
1 answer
20 views

Get Name of Nodes Attributes of an XML file

I'm trying to get names of attributes nodes of an XML file..i'm able to read nodes and attributes value but not names. In this xml example: <?xml version="1.0" encoding="UTF-8"?&...
Marco Giglio's user avatar
0 votes
1 answer
19 views

XSLFO: Wrap <fo:inline/> at a Specific Length

I want to wrap a <fo:inline/> if it exceeds a specific length, for example, 10mm. I use the combination of max-width="10mm" and wrap-option="wrap" attributes. However I ...
inVoKer's user avatar
  • 61
-2 votes
1 answer
33 views

How to read XML in SQL Server [closed]

<Result xmlns="uri:SomeNamespace"> <PD:Summary xmlns:PD="https://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelDescription"> <p1:p ...
user8541632's user avatar
1 vote
1 answer
31 views

How can I put GitHub examples in XML code docs?

In Visual Studio, when you hover over System.Reflection.MethodInfo.GetCustomAttributes (see definition), it has a link at the bottom "GitHub Examples and Documentation". When you click on ...
Canabale's user avatar
  • 211
0 votes
0 answers
17 views

Spring Boot 3 - can't marshal/unmarshal application/XML mainly in HTTP requests

Im migrating a project from Spring Boot 2.7.0 to version 3.0.5 and everything worked in the old version, now my integration tests fail. Using Webclient I cant unmarshall the response body to my dto. ...
Luker asd's user avatar
0 votes
1 answer
20 views

When click on editText keyboard show and login button hide how to adjuct automatic button above the keyboard

Aleady added in manifest, :windowSoftInputMode="adjustResize" please suggest solution? try with NestedScrollView but not working it it works but when i scroll screen through finger then ...
Sandeep Sudhakar's user avatar
0 votes
2 answers
30 views

XSLT - Remove element based on another element child value

I am trying to remove element based on another element child value. This is example xml file: <Information> <List> <Element ID="101278"> <...
patrick's user avatar
  • 27
0 votes
0 answers
33 views

Renaming files content with PowerShell leaves special characters

I created the PowerShell script to rename some files content. I noticed some special characters (������) appeared after the renaming. I use the following script: $configFiles = Get-ChildItem -Include ...
Alexander Samuel's user avatar
0 votes
0 answers
25 views

How to convert xml to docx in R

I have a docx file converted to bundle of xml files in a folder. After modifying some contents of the XML, I want to convert it back to docx file. Is it possible to do something like this? Code for ...
Golem's user avatar
  • 156
0 votes
1 answer
50 views

Converting a Python object To XML without namespaces

I am using the XmlSerializer from xsdata to convert a python3.9 dataclass object into XML. This is the code # create serializer XML_SERIALIZER = XmlSerializer(config=SerializerConfig(xml_declaration=...
user20358's user avatar
  • 14.2k
0 votes
1 answer
35 views

Python ETree.find not finding with complex path

I have an xml element that looks like this <PI Name="MonitoredVariable"> <Reference Object="SomeName" /> </PI> <PI Name = "Other Properties" />...
Tornado547's user avatar
0 votes
1 answer
25 views

Custom Design for EditText in XML

I want to get this design in android xml, not exactly but something close to it. I'm still new to android so please be more specific in your appreciated answers. Custom EditText tried using custom ...
Ammar Bakr's user avatar
0 votes
1 answer
26 views

How to set custom font for my entire application

I wanted to set custom font for app but I'm receiving an error I tried to set custom font for my app using the method I saw from google. I added a font resource folder but I got an error saying ' aapt ...
Micah Okoh's user avatar
0 votes
0 answers
21 views

How to marshal into XML response with custom namespaces in Java

I wanted to define classes to map into an XML response to be returned by the controller: @RestController @RequestMapping("/v1") @Validated public class Controller { @PostMapping(value = ...
wasd's user avatar
  • 1
0 votes
0 answers
6 views

wp all export add percentage price to xml

I am trying to add 11% to the exported product xml price <?php function shopflix_price($price){ $percentdiff = 11; $price *= (1 + $percentdiff / 100); return $price; } ?>[this is the ...
Angelos Provelengiadis's user avatar
0 votes
1 answer
34 views

How to reuse nested elements with href in an SVG background-image?

I am creating an SVG background and I want to make the file size smaller by reusing paths. Because the SVG is applied to an HTML element, called using CSS, like so background-image: url("filename....
Mentalist's user avatar
  • 1,530
0 votes
1 answer
19 views

how can I remove the recyclerview swapping indicator or at least change it's color to white so user won't see it?

I have created 3 recyclerview and each of them swap horixontally from right to left and left to right but while swapping, it shows a Grey colour indicator below the cardviews for sometime when I start ...
vilnius19's user avatar
0 votes
0 answers
14 views

Create Desktop with XML

Im looking for a PowerShell-command or anything other to create an xml for the desktopicons with positions on win10/11. I can create xmls for startmenu and taskbar, but i dont found anything for the ...
bugfinder's user avatar
0 votes
1 answer
23 views

How to remove specific XML tag and empty parent tags using Groovy?

I'd like to remove the tag containing this exact number '123456789' and its parent tags from the XML document using Groovy. How would I do this? <CdtrAcct> <Id> <Othr&...
Laki Roske's user avatar
0 votes
1 answer
22 views

How do I force the app to follow the phone's system language?

In the application settings I have a RadioGroup that contains four RadioButtons, each one labeled with a specific language name and the last one labeled “Automatic (depending on device language)”. ...
Hadj Said Aoumer's user avatar
0 votes
0 answers
9 views

Issue with Bluetooth Connection in Android Studio

To give a backstory, I am building an android app in android studio using java. This app serves as a digital RC controller for an RC airplane. My goal is to be able to connect to the airplane via ...
beanz's user avatar
  • 1
0 votes
0 answers
23 views

I updated the android SDK from version 30 to 33 and my app (Ionic) no longer runs

i am trying to run my ionic app on android however google is now asking me to update the sdk i have which is version 30 to a higher version and this is version 33. i try to update but i get this error ...
Michael Daniel Moreno Diaz's user avatar
0 votes
1 answer
24 views

Extracting specific tag from XML in python using BeautifulSoup

I have a metadata file that looks like this: <?xml version='1.0' encoding='utf-8'?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="...
Jeff R's user avatar
  • 13
0 votes
0 answers
31 views

Looks fine in XML but cramped at top while running the app

Hey guys I made a app it is not very complex as I am still in learning phase. I am currently learning app dev and as soon as a reached the intent part a very amazing idea came to my mind . It uses ...
Harshit Gyanchandani's user avatar
0 votes
0 answers
15 views

cannot add direct child error after deploying fiori app to system

i created a fiori app based on this sap sample. testing the app in vscode works fine but after deploying it to the abap system and trying to run it from fiori launchpad i get hit with this error: i ...
doostaay's user avatar
0 votes
0 answers
32 views

Generating classes out of xml schema - Kotlin

I have a .xsd file and a .xml file. What I expected was that my Kotlin programms generates data classes from the .xsd file, takes the xml data and put the data in the data classes. I wrote the data ...
Pferdesalbe's user avatar
0 votes
1 answer
26 views

Android Application using java which can record the video and audio with just one click of a button

I am working on a project which can record the video with just single click of a button. I am able to record the audio easily but when I try to record the video the app crashes with a RuntimeException:...
Priyabrata Nayak's user avatar
0 votes
1 answer
34 views

xml schema, multiple elements with same name but with different types error

There are a ton of examples of this dilemma online but I still can't quite understand the best way to go about this. I'm trying to create a schema that will: Check for specific element order/...
Paul π's user avatar
  • 149
-1 votes
1 answer
65 views

How to format the XML structure for all the files in a path

I would like to convert this XML: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc"> <soapenv:Header> ...
Code_Journey_4_Fun's user avatar
0 votes
2 answers
61 views

How to deserialize mixed JSON and XML to classes

I'm getting a response string from Azure DevOps REST API that contain mostly JSON, with some XML sprinkled into a few property values. I build a number of C# classes replicating the JSON structure of ...
Pebermynte Lars's user avatar
-1 votes
0 answers
64 views

XML-Views is not shown in the browser

I´m trying to programm a Fioriapp with Visual Studio Code. If I programm just texts everything is fine and it is shown in the browser if I open the index.html file. But if I try to programm XML-Views ...
Low_Rider's user avatar
1 vote
2 answers
49 views

How to efficiently parse and process large XML files in Python?

I have a Python program that needs to parse and process large XML files, but I'm encountering performance issues when dealing with files that are several gigabytes in size. I'm currently using the ...
Marco Parola uni's user avatar
0 votes
0 answers
18 views

Apache Camel Renaming A Zip File And Deleting After Extraction

If I were to express what I want to do very simply: I want to extract the contents of a abc.zip file to another path, rename the zip file to abc.zip.Extracted and delete the abc.zip file. But I can't ...
Halil Sahin's user avatar
1 vote
2 answers
43 views

XPath to target first ancestor tag

Some HTML: <div> <div> <button> <svg xmlns="http://www.w3.org/2000/svg"> <path d="x" /> </svg> </button> ...
lonix's user avatar
  • 14.5k
0 votes
1 answer
20 views

Selecting Unique XML Segments Based on an Element's Value and Map to Another xml in IBM ESQL

I have an XML like <Root> <Header/> <Ins> <X/> <Y/> </Z> </Ins> </Root> 'Ins' segment can appear multiple times. The ...
ArpanMona's user avatar
2 votes
1 answer
39 views

How to read doctype declaration of an xml using xslt?

Is there a way to read the doctype declaration of an xml using xslt? Example XML doctype declaration: <!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD ...
GreatPretender's user avatar
1 vote
1 answer
49 views

Python lxml parser isn't returning the entire text of a <p> element if there's a <xref> in it

I'm trying to use lxml to extract the text from all <p> elements in a .xml format article. Here's a sample of the article: <title>Continuing Education Activity</title> <p&...
cash999's user avatar
  • 21
0 votes
0 answers
56 views

Why isn't this regex stoping after the first encounter of the string its supposed to match?

I have one arxml file where i want to delete multiple elements(interfaces,ports,refferences of those etc). example : <CLIENT-SERVER-INTERFACE> ...
Hionut's user avatar
  • 11

1
2 3 4 5
4277