4,857 questions
0
votes
1
answer
79
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 ...
2
votes
1
answer
72
views
XSLT using count to add s to the string
Is there a better way to do this I am adding the s if the count is not 1 and if it has the 1 I dont add that line.
<xsl:choose>
<xsl:when test=".//Count = 1">
<li&...
1
vote
0
answers
34
views
Set operation gives an error with Oxygen but not in XMLSpy - what am I missing here?
This works in XMLSPy but not in oXygen 21 with Saxon 12.5:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/...
1
vote
1
answer
134
views
XSLT Reset variable [closed]
I have this variable showHeader that I am using to display a header but I only want it to display one time. After it is displayed I want to set it to false but I am not sure how to do that I only want ...
0
votes
1
answer
67
views
I want to check the content in between to match regex condition in XSLT
In @xlink:href contains 10.1513/AnnalsATS.202508-879ED text will come different types of doi numberes in many file, How to replace it in regex mode to match the below condition. Please anyone help on ...
1
vote
1
answer
71
views
XSLT for-each with using last and aggregation
I am not sure if this is possible with XSLT but I am trying to get the below XML into a format where it is name, title, date (if same date then only get date once), last value of In time (might not be ...
1
vote
1
answer
53
views
How can I access an API endpoint in XSLT if the API requires some authentication headers in the request
I can use the XSLT document() function to access external resources, so long as any authentication can be passed via the URL, e.g.
https://api.domain.com/call_x/id?api-key=abcd1234
However if the ...
1
vote
1
answer
67
views
Issue with Summation Symbol Rendering in MathML using XSL-FO Apache FOP
I am rendering MathML equations in PDF using XSL-FO with Apache FOP. While most equations render correctly, I’ve noticed an issue with the summation symbol — specifically, the lower limit appears ...
2
votes
2
answers
58
views
Transpose rows into columns using xslt with associated values
I want to use xslt to transpose my input to generate a header for my csv file while printing associated values in the rows
Here is my sample XMl
<?xml version="1.0" encoding="UTF-8&...
0
votes
1
answer
51
views
Duplicate content while wrapping in xslt 2.0
Hi I have one xml that need to be nest based on there level attribute but some how i miss the step and it create duplicates. Logic for wrap is wrap element based on @level
My input xml
<root>
...
0
votes
1
answer
71
views
I need an XSLT 3.0 version of my XSLT 2.0 code handle the large dataset which is currently throwing StackOverflow for large dataset
My original XSLT 2.0 code performs a recursive traversal of an organizational hierarchy starting from the top-level orgs (those without a SuperiorOrgWID) and outputting:
1- Each organization, then
2- ...
1
vote
1
answer
52
views
XSLT to Split segment based on its Element occurrence
I am trying to write a XSLT which will create separate statement segments for each of Statement1/Cliam, Statement2/Cliam and Statement3/Cliam in a sequence. All statement1, statement2, statement3 ...
0
votes
1
answer
118
views
Errors during stylesheet compilation with saxon
I am Using saxon EE processor for conversion of XML with XSLT-2.0. but its giving error for XSL file .
Below is the Code for XSL File
<?xml version="1.0"?>
<xsl:stylesheet version=&...
0
votes
2
answers
73
views
XSLT 2.0 for-each-group
I'm trying to understand how works grouping in xslt 2.0. My case: I need to group several documents with identical nodes value.
Xml example:
<items>
<item>
<!-- can be multiple --&...
1
vote
1
answer
81
views
How can I omit a namespace in xslt output?
I have this XML
<?xml version="1.0" encoding="UTF-8"?>
<item xmlns="http://www.p-corp.com/ns/pyxml" version="2.2" xml:lang="en-us">
&...