214,877 questions
3
votes
0
answers
47
views
Android "paddingHorizontal" Doesn't Work on TextInputEdieText
XML:
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/name_inputLayout"
android:layout_width="match_parent"
android:layout_height="...
1
vote
1
answer
44
views
Why structs constructed from XML have empty fields?
I am trying to write an XML parser which will load a data from XML file and convert it to golang structs, but apparently it is not working and I have no idea why. I wrote a test to troubleshoot it, ...
-2
votes
0
answers
28
views
How to add a schemeid at a element at XML-file with VB.Net [closed]
I'm creating a XML-file with VB.Net
I need to add the following element to the xml-file with XmlTextWriter:
<cbc:EndpointID schemeID="9925">VAT-number</cbc:EndpointID>
My code:
...
0
votes
1
answer
42
views
Android Material3 Outlined Button Looks Different from Guideline
XML:
<Button
android:id="@+id/send_button"
style="@style/Widget.Material3.Button.OutlinedButton"
android:layout_width="wrap_content"
android:...
0
votes
0
answers
26
views
Tally purchase order creation with XML request is failing
I'm trying to create a purchase order with XML request, but the request fails each time with an error saying that the voucher date is missing. But the voucher date is already given. The port 9000 is ...
2
votes
1
answer
139
views
+50
How do I prevent a Maven mojo parameter from being encoded on write to XML?
I'm writing a custom Maven plugin for building a Flatpak from a Java project. In a Maven mojo I understand we use @Parameter annotations to parse pom.xml file configurations. For example:
pom.xml:
<...
0
votes
1
answer
70
views
How to split the book in the chapters format
In the below example we are trying split the book in the chapters format.
Can anyone help.
INPUT XML:
book.xml
<?xml version="1.0" encoding="UTF-8"?>
<book>
<...
-1
votes
0
answers
27
views
Mondial Relay SOAP API "Invalid XML" error with Unexpected close tag despite correct XML in Node/React
I am integrating Mondial Relay’s SOAP API in a Node.js application using the soap npm package.
I am trying to create a shipment with the WSI2_CreationExpedition method and then generate the shipping ...
0
votes
0
answers
31
views
xml-crypto (v2.1.5) signed XML rejected by API - "Invalid File" despite removing injected Id
I am implementing an XML signing solution using Node.js to authenticate with a strict external API. I need to sign a "Seed" XML to obtain an access token. The API returns an generic "...
1
vote
0
answers
37
views
How to load types from SIEMENS OPC interface XML into an Opc.Ua.NetStandard C# server?
I have an .xml file exported from TIA Portal, with UADataTypes, UAObjects and UAVariables - something like this:
<UADataType NodeId="ns=1;i=3500" BrowseName="1:...
-3
votes
1
answer
75
views
How to randomly show top 10 records from an XML feed? [closed]
Here in my WordPress plugin I am using the following Code to read an xml feed.
$itsw_rss_feed = simplexml_load_file($itsw_feedurls[wp_rand(0,count($itsw_feedurls) - 1)]);
then using a for loop I am ...
0
votes
1
answer
58
views
How to lookup multiple values of a key in a map in xslt 3.0
I am new to XSLT and I am trying to simply print one of the values of a key in XSLT3.0. Please help me with this.
My XML:
<AggregatedData>
<wd:Report_Data xmlns:wd="urn:com.workday....
Advice
0
votes
1
replies
40
views
BridgeLink 4.6.0: How to validate XML against XSD (with dependent imports) using Lookup Manager? Java access removed
I am working on BridgeLink 4.6.0, and I need to validate XML files (CCD/CCDA) using XSD schemas.
Earlier versions of BridgeLink allowed Java access inside JavaScript (e.g., Java.type, Java.extend, ...
1
vote
0
answers
72
views
xml in chess pgn using python
<line fen="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1">
<move m="e4"/>
<move m="e5"/>
<move m="d4"/>
<...
3
votes
0
answers
84
views
XML signature validation failing using SignedXML
We are validating the signature in XML responses (for Peppol).
For this we are using the SignedXml (System.Security.Cryptography.Xml) class in C#. Which works fine, most of the times.
For some XML ...
0
votes
3
answers
89
views
Deserialization backward compatibility when type of property has changed
I used to have simple classes like below:
public class Product {
public Money Price {get; set;}
}
public class Money {
public decimal Amount {get; set;}
public CurrencyEnum Currency {get;set;...
0
votes
0
answers
74
views
How to make a custom notification full-width?
I'm trying to create a full-width custom notification for my Flutter app on Android.
The problem is that the notification always appears centered with large horizontal margins, even though my layout ...
1
vote
0
answers
32
views
How can i have counterweight hands for the AnalogClock in WFF?
I want part of the hand to remain on the non-main side of the hand.
The documentation on Android Developer suggests the following:
Specify the pivot point
Each of the hour, minute, and second ...
1
vote
2
answers
64
views
XML in Oracle PL/SQL - How to read a big hexBinary node?
I have an XML file with a node containing a file that has been converted into hexbinary.
The ultimate goal is to read that node, convert it back to an actual file and store the path of that file in a ...
0
votes
0
answers
46
views
Mobile screen gets pushed down when View appears above visible screen after event
Project is using XML / Kotlin. Issue is with a nested scroll view or perhaps screen management in general.
NestedScrollView
Child 1 (hidden)
Child 2
Child 3
Child 4 (screen is here)
Clicking ...
0
votes
0
answers
46
views
How to make the lottie animation overflow?
I have a lottie Animation which i need to overflow outside the view. I have set clipChildren , clipToPadding, clipToOutilne as false for the view and its parents. But the lottie animation is still ...
-3
votes
0
answers
53
views
IICS Request Header XML
I have an IICS CAI process that calls an API. I need to log what the request was in the case of an error. I can get the headers one at a time using Xquery "request:getHeader('header name') but ...
0
votes
1
answer
64
views
So the nestedscrollview is scrolling before even the CollapsingToolbarLayout starts moving or collapsing
So where i write Textview or imageview are real items so when i scroll the nested scroll will start scrolling specially all my 3 recycles are there i tried many ways did not really solve my problem so ...
0
votes
0
answers
52
views
Fixing "Incorrect reference digest value" in SOAP XML WS-Security with node-soap
Fixing "Incorrect reference digest value" in SOAP XML WS-Security with node-soap
Problem
I'm experiencing an intermittent issue with SOAP XML requests to an external service using the node-...
1
vote
2
answers
67
views
How can I loop over an XML structure using Coldfusion
I'm trying to loop over an XML file and output the structure. However, I'm only getting one set of data on the second loop. Below is my code, and below that is a snippet of the XML structure.
<...
Advice
1
vote
3
replies
75
views
Split single XML document into multiple XML documents
I have a task to split an XML that I'm receiving using XSLT. The input XML is formatted as follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<...
4
votes
1
answer
96
views
Deserialization of XML with multiple namespaces
I'm attempting to deserialize an XML response from an API. The data is as follows (I have only included a small chunk for the sake of a small post):
<ns1:alerts xmlns:ns1="http://gov.fema....
1
vote
0
answers
79
views
Cannot place attributionTag anywhere in the manifest
Im having an issue where attributionTag not declared in manifest of com.my.package is appearing in my logcat when i play audio using the MediaPlayer.
Based on the Android documentation and other ...
2
votes
1
answer
184
views
XML output from ASP.NET Core Web API (Nautix compliant XML)
I am creating an ASP.NET Core Web API endpoint which will fetch XML output in the Nautix compliant XML. Despite the XmlAttribute set on the class, it does not return attribute in the output. Please ...
-1
votes
0
answers
75
views
Why can I not get this querySelectorAll to work? [duplicate]
I have an xmldoc with an SVG element that I am trying to pre-process and clean up to do some things. The actual file has several thousand elements, and I want to remove the ones I do not want in the ...
1
vote
0
answers
74
views
XmlSerializer does not deserialize XmlAttributes with a Namespace-Prefix. Bug? [duplicate]
I am trying to deserialize a given piece of XML that looks like this:
<?xml version="1.0" encoding="utf-8"?>
<tst:myRootElement xmlns:tst="myGivenNamespace">
...
0
votes
1
answer
181
views
How do I list the downloadable files using R for this NOAA website data source?
I want to download the tar.gz files from this NOAA (NCEI) data source:
https://www.ncei.noaa.gov/oa/local-climatological-data/index.html#v2/archive/
Normally, I can do something like this to get the ...
1
vote
1
answer
103
views
How to validate XML document against the XML schema using the XmlPrime xslt command-line?
I am starting with Peppol Invoices based on XML. What I need is to be able to locally validate the XML of the invoice document. (I know that on-line validators do exist.) The next step will be the ...
1
vote
1
answer
52
views
What is the role of the <gnm:position> element?
What is the role of the Gnumeric <gnm:position> element here?:
<gnm:Names>
<gnm:Name>
<gnm:name>⋯</gnm:name>
<gnm:value>⋯</gnm:value>
...
0
votes
1
answer
55
views
DataStage XML export modified via Python — new stage not appearing after re-import
I’m working with IBM InfoSphere DataStage 11.7.
I exported several jobs as XML files using istool export.
Then, using a Python script, I modified the XML to add another database stage in parallel to ...
1
vote
1
answer
65
views
Why aren’t my changes reflected after modifying and reimporting an IBM DataStage job XML export?
I’m trying to programmatically modify IBM DataStage jobs to add a new database connector stage in parallel to an existing Database stage.
Here’s my workflow:
Export a job from DataStage Designer as ...
-4
votes
1
answer
72
views
Programmatically modifying IBM DataStage job XML – changes not reflected after reimport [closed]
I’m trying to programmatically add a new database stage in parallel to an existing DataStage job by modifying its exported XML. I export the job from DataStage Designer, modify the XML via a Python ...
7
votes
3
answers
185
views
How can I pass a list of elements as a template's param to work on each on them with a for-each approach in XSLT 1.0?
I am working with XSLT 1.0 through a Java project, and I am unable to update to 2.0. I am attempting to write a Parent template that should call within it a Child template. I wish for the Parent ...
1
vote
3
answers
128
views
What is an example of an XML file merge using Saxon and an XSLT 3.0 stylesheet?
I need to merge Saxon Documentation - merge one node from the source XML file merge.xml into the file merge-test.xml, positioning the node in between two other nodes in the output file output.xml. No ...
1
vote
0
answers
47
views
Force Self-Closing XML tags for xml.MarshalIndent in Golang [duplicate]
when I call xml.MarshalIndent() in Golang, it produces XML structures like these:
<Screen id="Screen1">
<Label id="Label1" Text="First number: "></Label&...
1
vote
2
answers
65
views
Sort entries in an XML file using Saxon 12.9 and an XSLT 3.0 stylesheet
I'm trying to sort entries in an XML file using Saxon, Saxon:sort and an XSLT 3.0 stylesheet.
I need to sort the nodes by the date in the <blogger:filename> field, which has the date as part of ...
1
vote
0
answers
65
views
Subcontext in Embedded Tomcat Server Spring Boot 1.5
I'm trying to make a Spring Boot 1.5 project to use the embedded Tomcat Server it can come with. The project is configured for Tomcat 8.5, with a META-INF/context.xml, WEB-INF/web.xml and a specific ...
2
votes
2
answers
75
views
Replacing value in a line based on adjacent line in XML
a one-off job responsibility I have is submitting quarterly data in XML format. I've managed a few basic skills of like find and replace. I am using Notepad ++ I need to know how to do the following:
...
0
votes
1
answer
80
views
ODOO Field service Worksheet, how to solve indentation problem in the pdf
I'm using "Odoo 16.0+e (Enterprise Edition)" and I premise that I'm not a software engineer but in the past I successfully managed to modify the Qweb code that generates the invoices and the ...
1
vote
1
answer
91
views
Using InsertXML method to modify a Word document in VBA
I need to do some heavy find-replace modifications in a bunch of Word documents and I am trying to speed this up by making this a string operation using the Office Open XML. I can extract the XML ...
0
votes
0
answers
54
views
question of parsing xml file in spring application
I want to study how beans are created when beans.xml file is parsed. Given following codes
beans.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:sec="http://...
2
votes
1
answer
68
views
Remove an XML node with Saxon using an XSLT 3.0 stylesheet
What's a simple example of removing a node from an XML file using Saxon 12.9 and an XSLT 3.0 stylesheet?
I've got an XML export from Blogger, and I'm puzzled on how to remove just the COMMENT entries ...
-1
votes
1
answer
75
views
XSLT Transformation is not working as expected
Input XML
<tns:ipartycredit>
<ns3:crPtyRole>ACWINS</ns3:crPtyRole>
<ns3:crPtyRoleIndicator>R</ns3:crPtyRoleIndicator>
<ns3:crPtyInformationTag>57</...
0
votes
0
answers
76
views
Generate classes from .xsd fails
I have downloaded xsd files from the Greek government's site here and I am trying to create C# classes.
Most of them will be created fine, but the ones I really need will not, and the cause these ...
1
vote
2
answers
138
views
Finding all objects matching a neighboring key in XML
I have a playbook in Ansible that will allow me to identify a specific set of firewalls, and then update them to a higher version of software. However, I need to take the existing output of my API ...