214,730 questions
0
votes
1
answer
60
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
57
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
51
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
69
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
169
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
62
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
76
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
84
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
119
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
112
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
156
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
38
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
103
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
97
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
50
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 ...