214,811 questions
-6
votes
0
answers
36
views
XML Wiki Translation (Fandom) Locally [closed]
I have a massive MediaWiki xml dump to translate to Spanish, 70,000+ lines. How do I go about this on MacOS locally, without rate limits. I only really know web programming and don't want to pay for ...
0
votes
4
answers
70
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
27
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
<...
0
votes
0
answers
45
views
Error in Flutter foregroundServiceType 0x00000008 [closed]
So I'm getting this error and I'm trying to track if location if on in background.
Has anyone had this issue? I haven't seen some with different foreground service type.
I have created a service it ...
0
votes
1
answer
79
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
35
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 ...
1
vote
2
answers
82
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
47
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
96
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
31
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
0
votes
5
replies
66
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
26
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
58
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
8
replies
72
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 (...
-6
votes
1
answer
190
views
What is the problem namespaces in XML trying to solve? [closed]
I've spent way too many hours trying to understand XML namespaces and I'm genuinely confused about why they're necessary.
Here's what I understand:
We want to mix bunch of XML dialects
Namespaces ...
2
votes
1
answer
122
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
70
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
63
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
112
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
136
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
54
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 = [
#(&...
4
votes
1
answer
82
views
Can't get an XML attribute from XML using jQuery
I have XML that looks like this:
<markers>
<marker>
<name>Company A</name>
<geo comp="HQ">44.42, 26.95</geo>
<geo comp="SA plant"...
Advice
4
votes
8
replies
163
views
Reading in XML data in python
I am looking for some assistance with how to convert the below XML data into a dataframe.
I have managed to write a working code in R (XML package, code is messy) but then I realized it might even be ...
3
votes
0
answers
103
views
Statically generated XML parsing code using `Microsoft.XmlSerializer.Generator` and `sgen` is not called breaking AOT compatibility
I am converting a .NET 9 project to .NET 10 and making it AOT compatible.
One of the things I need to do is make XML parsing AOT compatible, and I am using Microsoft.XmlSerializer.Generator to create ...
0
votes
0
answers
49
views
CoordinatorLayout + NestedScrollView: adjustResize doesn’t scroll to focused view; adjustPan hides dropdown behind keyboard
I'm developing an Android application (Java) using the standard layout structure: CoordinatorLayout + AppBarLayout + NestedScrollView. I have a long form where some text fields are positioned at the ...
0
votes
1
answer
98
views
Strange encoding behavior when adding a value to a xelement
I have the following payload, in which I need to parse a value in the format of an HTML link at a specific location. However, the HTML link must appear between “<” and “>”.
<?xml version=&...
0
votes
0
answers
75
views
FullScreen API Not Working in Android Studio Virtual Phone
I've recently been working on porting an HTML5 video game I built for Android devices as an app. I am using Android Studio to assist with development.
After some trial and error, I've been able to get ...
3
votes
1
answer
103
views
Force sequencing in XProc when a p:for-each only has side effects?
I’m using XProc 3.0 with XML Calabash 3. I have a pipeline where:
I iterate over a directory of XML files
For each file, I run an XSLT trasnformation and store a modified version back to disk
After ...
2
votes
2
answers
122
views
Valid regular expression pattern validation in XML
I have a string element in an XML schema that I would like to restrict to the extended Latin character set plus numbers, punctuation, whitespace, etc.
I have tried the following:
<xsd:pattern value=...
0
votes
0
answers
107
views
VBA Code for Word that uses an XML in the background for drop down
I try to implement something for Word. So I have plenty of letters I have to use for work. I want to make them easier and faster to work with. That's why I like to implement drop down menus with ...
2
votes
1
answer
86
views
An added Java dependency kill my old xml manipulate code
There is my old working code what rewrite an xml file:
private static void rewriteXmlDocument(Document document, File xmlFile) throws TransformerException,
FileNotFoundException {
File temporaryFile ...
Best practices
0
votes
3
replies
68
views
Displaying Information On Browser
I used to display error messages from a xml file directly on MS Explorer web browser and format the output using a xslt file. However, this process seems to be eliminated on MS Edge. I used the ...
2
votes
3
answers
200
views
SQL Server stored procedure passed a Biztalk XML message not returning field values when parsing the XML text
Our integration team want to send a XML parameter from their Biztalk server containing values to be written to a SQL Server table using a stored procedure, and have sent me an example for me to create ...
Advice
0
votes
6
replies
152
views
Designing PhilHealth (Philippine Health Insurance) integration before official SOAP APIs are available (.NET)
I am working on integrating PhilHealth (Philippine Health Insurance Corporation) into an existing hospital management system built with ASP.NET Core (.NET), Entity Framework Core, and SQL Server.
At ...
2
votes
1
answer
145
views
Why does my parallel XML raw pointer parser work slower?
I am currently trying to find the fastest way to parse an XML file the structure of which is well known (basically game data to be loaded by the tool). I know the markup fully, down to how many bytes ...
1
vote
1
answer
146
views
Indesign table XML convert to HTML table using XSLT 2.0
I want to transform Indesign table XML converts to HTML but I am not getting the correct output and need to handle dynamically aid:crows and aid:ccols. can anyone please suggest the correct table HTML ...
1
vote
2
answers
141
views
Why do I get verification failure in my xmlsec example?
I have to sign an xml file using xmlsec in python.
In the following there is a complete example, including all needed stuff:
The raw xml consists of elements Header and Body and (as a requirement) the ...
2
votes
1
answer
112
views
Deserialize an XML with multiple namespaces
I am trying to deserialize an XML file with the following structure:
<file:Process xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/...
Best practices
0
votes
5
replies
67
views
What value goes in the XML "lang" attribute for biological names?
Wikipedia's template for biological names, such as Vombatus ursinus, currently begins
<span style="font-style: italic;" lang="la">
I think this is wrong, because biological ...
1
vote
1
answer
66
views
Sideloading being blocked with MobileFormFactor tag addition in Outlook add-in
I am working on creating a very small demo outlook add in through office add-ins, that can work on Web, Desktop and a mobile phone.
This is my manifest.xml file:
<?xml version="1.0" ...
2
votes
1
answer
102
views
Linq to XML counter based on current XElement ToList row entry
How do I use the amount of rows in an XML object and then iterate with the count on each row to produce the number in the iteration and insert it into the table row? Let's say I have a people object ...
0
votes
2
answers
149
views
Use Stream to connect to MS-Word docs in SharePoint and copy contents to local MS-Word doc
I have MS-Word Document templates that are stored in SharePoint. I need to write a sub within an Excel file to reach into SharePoint, copy the contents of the word document(s), and save to a local ...
3
votes
0
answers
89
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
91
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, ...
0
votes
2
answers
115
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
57
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 ...
1
vote
1
answer
216
views
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
82
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>
<...
0
votes
0
answers
40
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
47
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:...