214,721 questions
-3
votes
0
answers
26
views
How to implement Factur-X API for French electronic invoicing compliance?
I need to implement Factur-X electronic invoicing for my French company. What are the technical requirements and how can I generate compliant Factur-X invoices programmatically? I'm looking for a ...
1
vote
0
answers
43
views
How to remove border of whole recyclerview which was added using xml?
<!-- res/drawable/border.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke
android:width="7dp"
android:color=&...
-2
votes
0
answers
88
views
Why does @XmlJavaTypeAdapter on the root object not work with Marshaller.marshal in JDK 8? [closed]
Following up on the previous question (How to use XmlAdapter correctly?).
After solving my solution by using fastxml,I was curious about why jaxb didn't work.For this reason,I cheaked the source code....
0
votes
0
answers
42
views
Outlook changes the background of generated HTML body in an email depending on the user's theme
I am using a HTML template (shared below) with placeholders to generate the body of an email, which is sent to users using a logic app workflow. Despite attempting to define the [data-ogsc] attribute, ...
Advice
1
vote
2
replies
150
views
How can i develop a fullstack android app within 6 hours?
So we have this codefest competition, a 6 hour hackathon and there is a machine problem to follow, our development time is only 6 hours. Now currently we're using viewBinding, sqlite openhelper, java, ...
2
votes
1
answer
91
views
libxml2 DTD parsing from string fails on ATTLIST
I want to embed a DTD into a C++ application, parse the DTD and validate an XML document against it. However, when the DTD becomes large enough, the DTD parser fails. If I dump the same DTD into a ...
0
votes
1
answer
67
views
ANTLR4 TokenStreamRewriter.getText() loses spaces in custom DOCTYPE parser rule
I am using ANTLR4 to parse XML files and then output the parsed content using TokenStreamRewriter.getText().
For normal XML tags (e.g., <foo> and <gm-A-1/>), the output is correct: spaces ...
2
votes
1
answer
63
views
How do I only get nodes with direct children?
I have the following XML snippet:
<Item>
<Identifier>12345</Identifier>
<Bin>
<Check>
<Number>1311</Number>
<Level>Warning</Level&...
-1
votes
1
answer
54
views
Return unique nodes then filter further to highest value with XPath 1.0
Given the supplied Source data, below, I would like to reduce the 'ComponentInfo' node to the highest 'version' of each distinct 'id' listed.
Effectively giving me a unique set of IDs with their ...
0
votes
1
answer
72
views
Remove leading space in xsl:when
I am trying to modify the xsl APA style in Microsoft Word, and I am unable to remove a leading space in a xsl:when for citations. It is added somewhere between line 2707 and line 3044 in the community ...
1
vote
2
answers
171
views
XML format from SQL data table
I need to build the following XML data structure. I get the XML structure that I need but I am missing the student tag.
<users>
<user>
<id>123</id>
<name&...
Best practices
0
votes
1
replies
64
views
How to marshal to a file a Java object with a very large List of nested objects using jaxb and Camel
In case you need to read and split a very large xml like this
<books>
<book>
...
</book>
<book>
...
</book>
...
</books>
using apache Camel, the best ...
0
votes
2
answers
78
views
An empty sequence is not allowed as the value of variable $attachment-mediatypes
I am using the image orbeon/orbeon-forms:2025.1-pe and using MySQL server as a database.
orbeon.xml:
<Context path="/orbeon">
<Resource
name="jdbc/mysql"
...
3
votes
1
answer
85
views
How to include namespaces correctly in Windows manifest file
I'm writing in C for Windows using GNU gcc MinGW64, in Codeblocks. I have embedded a Windows manifest file and a resource script file in my project. I would like to achieve maximum non-ugliness for my ...
2
votes
2
answers
133
views
How to use XmlAdapter correctly?
Recently I need to convert Java objects into XML file format, but directly using JAXB to convert Java objects does not meet my needs.
Through researching, I found that XmlAdapter can be used to ...
-1
votes
1
answer
117
views
How to Detect First Citation in MS Word Bibliography File [closed]
I am writing a custom bibliography file for Microsoft Word. (The .xsl files located in %appdata%\Microsoft\Bibliography\Style)
So far it's going great. However I cannot figure out how to check if I am ...
2
votes
1
answer
178
views
Where is XML -> Create Schema in Visual Studio 2026?
I need to generate XML schemas for my XML file, but I can't find the XML menu when opening XML files any more.
In VS 2022 I could do so via XML -> Create Schema, but now in VS 2026, there is no XML ...
Advice
0
votes
1
replies
39
views
DAYZ Xbox Version Types Limitation
I need help increasing the type limit in the Xbox version of DAYZ. I currently have a limit of 5000 types. If I have more than 6000 types in the types.xml file, items no longer spawn, and vehicles ...
3
votes
1
answer
106
views
Serialising and Deserialising a System.Data.DataSet to XML with SQL Server UniqueIdentifier using different .NET versions
We have a legacy application that was originally written to connect directly to a SQL Server database using OLEDB.
Since then we have introduced Azure SQL databases (but some of our clients are still ...
0
votes
1
answer
98
views
VBA Macro for modifying Ribbon produces error
I am modifying the Excel ribbon to remove three items. The macro produces the "Cannot run the macro..." on load, but the commands are executed and the items are disabled. How can I prevent ...
2
votes
1
answer
51
views
XML Digital Signature valid locally but rejected by remote server when running in Linux Docker container (.NET 5/WCF)
I have an ASP.NET Core 5 Web API that constructs a SOAP request, signs portions of it with XML Digital Signatures (RSA-SHA256, Exclusive C14N), and sends it to a remote SOAP service.
The request ...
3
votes
0
answers
57
views
Android Studio How can I position a view in the center of a frame using code
I am trying to resolve an issue that is stopping my development.
I want to position an imageview so it is in the center of a frame layout using code.
I have been trying various solutions but do not ...
1
vote
2
answers
128
views
PostgreSQL - xpath to table
I am trying to convert an XML file into a table with the following columns: NodePath – vertex path with parameters, NodeValue – vertex value that is not XML. The solution assumes that the transmitted ...
-1
votes
1
answer
80
views
Change a xml namespace prefix of an existing element
I need to insert a namespace prefix to an existing elements but always get the error org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is ...
Advice
0
votes
4
replies
85
views
What is this ,say ,,for ,is it needed or being monitored
I found the below xml. I'm concerned the trackercontrol is part of something that is being used to monitor my computer.
What is this for?
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
...
2
votes
2
answers
194
views
Why does C#'s XmlWriter change a \n to a \r\n inside a text element?
Here's a minimal C# example:
var settings = new XmlWriterSettings()
{
OmitXmlDeclaration = true,
};
var stringWriter = new StringWriter();
stringWriter.NewLine = "\n";
using var writer ...
5
votes
1
answer
92
views
After upgrading to WildFly 39 base64 encoding throws an error [closed]
After upgrading a web app to WildFly 39, previously working base64 decoding fails with an exception:
java.lang.IllegalArgumentException: base64 text invalid.
at [email protected]
What did ...
2
votes
1
answer
118
views
PHP end tag fails when used inside an attribute - is this a bug?
I am creating web content that may be included from various locations. For images I need to set the @src such that the image is always found, no matter where the web page might be. I am setting a $...
-1
votes
2
answers
83
views
How do you import the Sector and Industry for a list of stock tickers into Google Sheets?
I have been able to get this string to work for single tickers changing it manually:
=IMPORTXML("http://finviz.com/quote.ashx?t=ABBV","/html/body/div[2]/div[2]/div[1]/div/div/div[2]/div[...
0
votes
0
answers
141
views
Import of xml libraries in java17
I did started a project, using java 1.8. In this project, I’m reading and writing xml files. So, I added those imports:
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers....
0
votes
0
answers
58
views
How to add adaptive icons to an APK that doesn't have them?
I've been trying to modify an APK using the MT Manager app for a while now, but I'm having trouble applying adaptative icons.
I created the folder mipmap-anydpi-v26, and inside it I created a file ...
1
vote
1
answer
61
views
How can I get an unordered sequence of 2 elements by using choice in xsd 1.0?
I wanted to do something like this:
<xs:choice>
<xs:sequence>
<xs:element name="estado" maxOccurs="unbounded" minOccurs="1"></xs:element>
<xs:...
1
vote
4
answers
93
views
Query with SQL-like joins between XML files
As a minimal example, consider a XML file with address information like
<?xml version="1.0"?>
<person>
<name>Peter Donohoe</name>
<street>Downing Street 10&...
Advice
1
vote
3
replies
34
views
Are comments allowed inside an empty XML element?
Suppose I have an empty XML element. That can be written with either
<element/>
or
<element></element>
In the long form, are there comments allowed inside the element? As in
<...
1
vote
1
answer
86
views
How to create siblings and children in SQL when using FOR XML?
As I understand it, there are 4 different options when using FOR XML in a SQL query: RAW, AUTO, EXPLICIT, and PATH. I think for my example below, I want to largely use PATH, but I end up getting ...
Best practices
1
vote
4
replies
53
views
Using a repeated block of code as function in xsl
I have a repeated block of code (function in vb-net) in my xsl, which I use in consecutive xsl:if in my code. In my following code I present this repetition as a <td> inside some xsl:if's. How ...
2
votes
2
answers
153
views
How to migrate from xml2js to fast-xml-parser without changing the parser output?
xml2js used to be one of the most popular XML parsers on npm. However, it hasn't been updated in a while. Therefore, I'm currently trying to switch to fast-xml-parser which is more popular and is ...
0
votes
0
answers
62
views
InventoryAllocations not populated in TallyConnector 2.2.0 but missing OtherFields in 3.0.3-alpha while using GetVouchersAsync
I am using the TallyConnector 2.2.0 NuGet package to extract voucher data from Tally.
Issue 1 (TallyConnector 2.2.0):
While using the GetVouchersAsync method, the InventoryAllocations property inside ...
1
vote
1
answer
112
views
Android Custom UI Component with Generic Type
I have created a custom spinner in Java for Android and my class uses generics as such
public class TLPSpinner<T> {
I have an event that fires when a object is selected and if instantiate the ...
Best practices
0
votes
10
replies
52
views
Semantic validation of XML
I'm trying to validate XML files beyond my understanding of what XSD offers. Here's my concrete use-case:
The MusicXML format has an XSD spec that can be used to validate the syntax of documents. ...
Best practices
1
vote
4
replies
100
views
Career Advice: Which programming language should an Android developer learn for the AI-driven era?
I am an Android developer with 1.2 years of experience, primarily working with Java.
With the current tech economy shifting heavily toward AI-integrated applications, I feel that traditional mobile ...
0
votes
0
answers
37
views
Chase Orbital payment integration: DTD error for CIT/MIT Auth Create Profile (CGEN) XML requests
I am integrating Chase Orbital (XML API) for a client project and I’m currently stuck with CIT / MIT account verification test cases, specifically around Auth + Create Profile (CGEN) flows.
What I am ...
-1
votes
2
answers
70
views
How to read data between xml file tags in datastage using sequential stage
I have a multi schema xml file from which i have to read data from only one schema, i tried using hierarchical stage which didn't work, so i am trying to read xml file using sequential stage and in ...
Tooling
0
votes
9
replies
87
views
XML to CSV choosing best separator
Context
I am building an ETL pipeline to convert large XML datasets (ESMA financial data, ~50 GB total) into CSV format for bulk loading into SQL Server. The XML data contains free-text fields (...
2
votes
1
answer
130
views
C# XML Serialization: Merging multiple lists before saving
I am currently working on a small financial management application and use XmlSerializer to persist my data. I maintain a main list (allRecords) holding all data, and two separate lists (incomeList ...
0
votes
2
answers
82
views
Parsing an XML column in T-SQL with a colon in the XML Structure [duplicate]
I have a column of XML data in SQL Server that I'm trying to parse into columns. The start of the XML data looks something like:
<DataSet xmlns="google.com">
<diffgr:diffgram ...
1
vote
0
answers
68
views
Word renders hyperlinks as bold in Arabic documents even though no `<w:b/>` exists in document or styles (OpenXML)
I am working on a document conversion pipeline that:
Reads Word .docx files
Converts them into Akoma Ntoso XML
Reconstructs the Word document using OpenXML
I am currently stuck on an issue where ...
2
votes
1
answer
121
views
How to change the serialized format of time data? [duplicate]
I see the question was closed, but I don't see how the linked question relates to mine, it's definitively not a "duplicate"...!
I have a C# .NET 4.5.1 Windows Forms application, in which I ...
-1
votes
1
answer
152
views
SQL query for retrieving XML nodes parent child nodes [closed]
I have an XML and now I want to retrieve the XML nodes and its values in SQL Server and add it into a SQL Server table.
This is my XML:
<ADN>
<gift>
<giftdetail>
<source&...
0
votes
0
answers
62
views
How to Parse CalDAV REPORT XML Response and Extract iCalendar Data in Gleam?
I am building a CalDAV/CardDAV client for the Gleam programming language. I have a function which sends a REPORT request to the CalDAV server (Baikal in this case) with this body:
let headers = [
#(&...