214,633 questions
Score of 1
0 answers
57 views
Is an XML root element name starting with "xml" (e.g., <xmlpayload>) technically valid? [duplicate]
I am testing some XML snippets and noticed that the following code parses without any errors in my local environment and standard linters:
<?xml version="1.0"?>
<xmlpayload>
&...
Score of -2
2 answers
111 views
xml: uncapturable attribute
xidel 'https://en.wikipedia.org/wiki/List_of_trigonometric_identities' -e '/html/body/div[3]/div/div[3]/main/div[3]/div[3]/div[2]/table[1]/tbody/tr[2]/td/span/a/img' --output-format=xml
outputs
<?...
Score of -5
1 answer
152 views
selecting only attribute in one invocation of xpath
xidel 'https://en.wikipedia.org/wiki/List_of_trigonometric_identities' -e '/html/body/div[3]/div/div[3]/main/div[3]/div[3]/div[2]/p[5]/span/span/math'
outputs
'
sin
...
Score of 0
2 answers
92 views
Encoding XML in Terraform
When building an XML string in Terraform like this
<set-header name="ApiKey" exists-action="override">
<value>${var.my_key}</value>
</set-header>
I ...
Score of 0
1 answer
95 views
CompressPictures doesn't appear on my XML ribbon in PowerPoint anymore
Years ago I created my own PowerPoint addin. It's still used a lot. Parts of it are my own VBA macros, others are just MSO functions. One of the latter is Compress Pictures. I recently noticed that ...
Score of 2
1 answer
143 views
XmlSerializer does not serialize a derived value
(Code example is in .NET 8)
I have an XmlSerializer which is supposed to give a formatted version (only 2 decimal digits) of a decimal. But when I run the code shown here, the fields IAmString and ...
Tooling
0
votes
8
replies
133
views
How to mass edit XML?
I have a bunch of xml files which needs some correction.
<body>
<text>
<text>
second level text before
</text>
main text
<text>
second ...
Score of 1
0 answers
124 views
xml-xsd-engine marks errors instead of warnings in lax mode
I am trying to validate an XML against an XSD using typescript. For that I am using a library called xml-xsd-engine.
The XML has some elements / attributes that are not present in the XSD and upon ...
Advice
0
votes
1
replies
88
views
Prevent browser from adding .xml to .gpx downloads
The download of a GPX-file using HTML href results sometimes in a file with a name where the extension .XML is appended. The contents of a GPX file is XML but I don't want the file name appended with ....
Advice
2
votes
3
replies
137
views
How to use XML files in MATLAB?
I'm trying to use an XML file as a look up table in my MATLAB script. I have an array of numbers, and each of these numbers are also in the XML file and correspond to a specific label. I want to ...
Score of 0
1 answer
143 views
How to parse audio.cdindex
Some audio CDs have a file called audio.cdindex with artist, album and a list of the titles. I have a python tool to copy my CDs on the NAS and if I don't find the ID of a CD on musicbrainz or cddb I ...
Best practices
1
vote
1
replies
82
views
Deprecating XSD Schema elements / attributes
I maintain a fairly large XSD spec and we are deprecating a number of elements, attributes or enumeration values in the spec.
I understand that XML Schema does not include constructs for deprecation, ...
Score of 0
0 answers
102 views
XMLConfigurationException only during Debug in Intellij
I am getting the following exception when debugging my Spring Boot Application - but only while debugging. Normal runs are fine.
com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException:...
Tooling
0
votes
7
replies
121
views
Detect 2 XML files
I have some SOP flowcharts files in draw.io which usually updated. The files contains before and after sheets. Is there a way to compare the before and after file in XML files then capture the ...
Score of 0
1 answer
76 views
Disabling bottom menu item
How do I disable the default backlighting in the bottom navigation? I installed a custom backlight, but I can't remove the default one.
I want to remove the pink highlighting
BottomNavigation code:
&...