214,885 questions
2
votes
2
answers
79
views
Query on SSRS Content table for reports with hyperlink action returns all reports
I am trying to identify only reports with a hyperlink to another report. I am using SQL Server 2019 (150).
My SQL:
SELECT
C.ItemID,
C.Name AS ReportName,
C.Path AS ReportPath,
CONVERT(...
1
vote
3
answers
176
views
XML Set the Element Name from Attribute Value
I have a table of answers from a submission form that I need to convert to an XML file and upload to a website. Each row is one answer from one submissions and the answers need to be stored as the ...
4
votes
1
answer
126
views
lxml: QName value does not resolve to a(n) attribute group definition
I get the following error, while trying to validate XML using a schema:
lxml.etree.XMLSchemaParseError: Element '{http://www.w3.org/2001/XMLSchema}attributeGroup', attribute 'ref': The QName value '{...
0
votes
0
answers
64
views
Tally TDL – Export Voucher Register in Columnar View using XML Requests
I am trying to export the Voucher Register report from Tally in a columnar format using XML requests. My goal is to automate this process so that the exported output matches the way it appears when ...
0
votes
0
answers
61
views
Android. Android studio doesn't display my customized keyboard
I am learning to program Android applications and features.
My current project is a simple and basic keyboard with the following features:
Cannot go uppercase -- so no shift button
Cannot change ...
0
votes
1
answer
86
views
VB NET Microsoft.Office.Interop open XML file as XML table
I have a piece of code where I am opening an XML file from VB NET console app, than I Save As this file as XLSX file
Dim oxl As Excel.Application
Dim owbs As Excel.Workbooks
Dim owb As Excel.Workbook
...
0
votes
0
answers
53
views
How can I read in XML String Attributes with libcereal?
I have been searched since over a week for the fail I seems to have done. I simply want to read in a testing XML-File as follows:
<?xml version="1.0" encoding="utf-8"?>
<...
1
vote
0
answers
79
views
What is the syntax for adding non-rendered data/metadata to a .ui file?
I’m making an application where I’m converting a .xml to a .ui file (qtdesigner), and rendering that using pyqt.
However, there is some data in the .xml that I do not want to render (e.g. as metadata);...
1
vote
0
answers
42
views
Escape type="html" for Atom XML
The W3C Atom docs contain this paragraph:
If type="html", then this element contains entity escaped html.
<title type="html">
AT&amp;T bought &lt;b&...
0
votes
1
answer
102
views
Deserialize XML with Jackson polymorphically also using an external element
I need to deserialize XML into polymorphic Java classes where the subtype is determined not just by a type attribute on <component>, but also by a sibling <version> element. For example, &...
0
votes
0
answers
45
views
Dynamically Naming ID in XPath
I admit I am an XPath novice and I have Googled my face off on this topic so please be gentle. Is it possible to dynamically name identifiers without using XSLT, Java, or Python?
Incoming data ...
1
vote
1
answer
49
views
Cannot get rid of the unwanted color at the top of the screen (in the emulator) in Kotlin xml android
here is the code for the main page activity
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://...
0
votes
1
answer
99
views
Is it possible to edit the text or HTML contents of an XML node using xmlstarlet?
The answer to my earier question How do I access an XML node that uses quote marks with xmlstarlet? shows how to access a node using the namespace, and in that case, deleting the entire node.
...
0
votes
0
answers
43
views
NavigationView covering full screen when creating navigation drawer
I'm trying to create a navigation drawer in Android Studio. However, the NavigationView view in the XML file takes up the whole screen and prevents me from viewing the Toolbar and other features. How ...
1
vote
3
answers
127
views
XSLT: Copy the majority of XML but replace subnode with a new data
There is an outdated section within the data, and I need to replace it. The replacement data is static and needs to go in place of existing Nodes.
<headerNode1>
<headerNode2>
<...
-4
votes
1
answer
66
views
Is this SOAP envelope valid?
I am using JAXB to process XML input wrapped in a SOAP 1.2. However, I am getting an exception during unmarshaling:
javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"...
0
votes
0
answers
108
views
Unexpected(?) availability of child elements during start events in lxml.etree.iterparse
I’m writing a sitemap XML parser using lxml.etree.iterparse
class Sitemap:
"""Class to parse Sitemap (type=urlset) and Sitemap Index
(type=sitemapindex) files"""
...
0
votes
0
answers
105
views
Getting Unspecified content type application/xml is not allowed in Azure API Management API trace
I am trying to set up XML validation in Azure api management policy. I have the following policy set up. The purchase order schemas is there in the schemas section:
<inbound>
<base />...
-3
votes
1
answer
86
views
Converting a number ofargument tags with different attributes into unique tags
I need to convert an XML file to another format. A system creates an XML log with entries like this, I now know that the format was probably selected to allow extension without changing the schema:
&...
0
votes
2
answers
76
views
How do I add a \usepackage line to the generated latex from an XSL when using Saxon 12?
Using Saxon 12.8, I can compile an XML source to a TEX file. I am using the XSL file for Latex from TEIC/Stylesheets to do this.
My XML source however has some math that will need the amsmath package. ...
1
vote
2
answers
91
views
XML with attributes to array in PHP
I am trying to convert an XML string into multi-dimensioned PHP array. The difficulties are that XML comes with attributes and has nested values. My code works at parent level data but I am not sure ...
0
votes
2
answers
90
views
How to use XSLT to count consecutive following elements satisfying a certain condition
See the XML code of a table below. My task is to add an attribute (MOREROWS) to every ENTRY element which has one or more consecutive following rows with the text "##rowspan##" in the ENTRY ...
0
votes
1
answer
56
views
SAPUI5 GridTable: Live Character Count
I’m working with a grid table in SAPUI5 and have a requirement to count the characters of the operation description field.
The character count should update live and be displayed below the field, ...
2
votes
2
answers
78
views
Performance of adding an entry to a large map [closed]
I have a large sequence of maps: 15,000 rows of 85 columns, initially created from sql:
<xsl:variable name="original-sequence" select="sql:prepared-query($connection, $sql)()"/&...
0
votes
2
answers
65
views
XmlUnit Diff library - Comparing 2 XMLs ignoring object order
I am writing an XML comparison tool and need to ignore the object, rather than a property, order. For instance:
XML 1.
<Root>
<Vehicles>
<Vehicle>
<...