214,566 questions
Score of 3
2 answers
102 views
Is it possible to reference an xml:id attribute in a CSS selector?
I am formatting XML with CSS but I need to add a suffix to an element which has a specific xml:id, for example using the XML document foo.xml
<?xml-stylesheet href="foo.css"?>
<foo ...
Score of 0
0 answers
47 views
How can I make a Fragment background extend behind the navigation bar without changing the status bar or other Fragments?
I am working on a custom Android chat screen where the normal Toolbar is hidden. The top area of the Fragment is a custom Z-shaped curved header implemented using a VectorDrawable.
The design is ...
Score of 2
1 answer
94 views
LOAD XML SET field name with minus
Taking the example:
<?xml version="1.0"?>
<employee person_id="1" f-name="Kapek"></employee>
<employee person_id="2" f-name="Sajon&...
Score of 1
1 answer
60 views
Set Bank Reconciliation Date in Tally Prime
I am trying to set the Bank Reconciliation Date on Tally Prime with XML "Alter" Action
<ENVELOPE>
<HEADER>
<VERSION>1</VERSION>
<TALLYREQUEST>Import&...
Score of 0
3 answers
181 views
Extract XML data from forms into tables - presence of namespaces in XML
I have a situation, where I am importing data stored in XML from a SQL Server table, into a temp table (#), also in SQL Server.
The sample form data is as below:
<ABCDE xmlns:i="http://www.w3....
Score of 1
0 answers
65 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
121 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
164 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
109 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
112 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
155 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 ...
Score of 0
5 answers
146 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
184 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 ...
Score of 0
1 answer
96 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 ....
Score of 0
1 answer
153 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 ...