How can I group these ul elements into ul and li elements XSL

Anyone can help me with xsl? I don’t know how to achieve this: This is my sample input xml file: <?xml version="1.0" encoding="UTF-8"?> <export> <article> <h4>Kernpunkte des Discours sind:</h4> <ul>eine Erkenntnistheorie, die nur das als richtig akzeptiert, was durch die eigene schrittweise Analyse und logische Reflexion als plausibel verifiziert wird,</ul> <ul>eine Ethik, gemäß der das… Read More How can I group these ul elements into ul and li elements XSL

How to use xsl:try and xsl:catch in XSLT3.0?

I am trying to experiment with XSLT 3.0 here at https://xsltfiddle.liberty-development.net/ . I got this error: Error executing XSLT at line 9 : Cannot convert string "INF" to xs:decimal: invalid character ‘I’ Here is my XML: <?xml version="1.0" encoding="UTF-8"?> <division> <num1>9999</num1> <num2>0</num2> </division> Here is my XSLT: <?xml version="1.0" encoding="UTF-8"?> <xsl:transform version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform&quot; xmlns:xs="http://www.w3.org/2001/XMLSchema&quot; xmlns:fn="http://www.w3.org/2005/xpath-functions"&hellip; Read More How to use xsl:try and xsl:catch in XSLT3.0?

How to fix this in XSLT 3.0? (xsl:iterate and xsl:break)

I am trying to experiment with XSLT 3.0 here at https://xsltfiddle.liberty-development.net/ . I got this error: xsl:break must be the last instruction in the xsl:iterate loop Here is my XML: <?xml version="1.0" encoding="UTF-8"?> <primes> <i>2</i> <i>3</i> <i>5</i> <i>7</i> <i>11</i> <i>13</i> </primes> Here is my XSLT: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform&quot; xmlns:xs="http://www.w3.org/2001/XMLSchema&quot; xmlns:fn="http://www.w3.org/2005/xpath-functions"&gt; <xsl:output method="xml"… Read More How to fix this in XSLT 3.0? (xsl:iterate and xsl:break)

XSL 3 match text() where self is the first sibling of a specific node

In this XML: <TEI xmlns="http://www.tei-c.org/ns/1.0&quot; xml:id="MS609-1577"> <teiHeader/> <text> <body> <ab xml:id="MS609-1577-LA" xml:lang="la"> <seg type="dep_event" subtype="denial" xml:id="MS609-1577-1" sameAs="#MS609-1553"><lb break="y" n="24"/>Item. <date type="deposition_date" sameAs="#MS609-1553" xml:id="MS609-1577_depdate">Anno <supplied>et die</supplied> predictis</date>. <persName ref="#peire_guibert_asv-hg" role="dep">Petrus Guitberti</persName> testis juratus dixit idem per omnia quod <persName ref="#peire_bernart_asv-hg" role="ref">P<supplied reason="abbr-name">etrus</supplied> Bernardi</persName>.<seg type="witnesses" sameAs="#MS609-1601"/></seg> </ab> </body> </text> </TEI> I would like to move the full… Read More XSL 3 match text() where self is the first sibling of a specific node

remove element based on values found in another element xslt-3

The following works: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt; <xsl:output omit-xml-declaration="yes" indent="yes"/> <xsl:strip-space elements="*"/> <xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template> <xsl:template match= "*[ID=’579′]/EMAIL"/> </xsl:stylesheet> But i need to remove the email element based on many ID values something like below is not working: "*[ID=’579|987|1023′]/EMAIL"/> How would you do it i a more cleverway with xslt-3? >Solution :… Read More remove element based on values found in another element xslt-3

Variable in XSLT 3 with conditioning that returns the node name attribute if its child node contains specific name attribute

I would like to create a variable that will only be filled/populated if the child node of my node config has a specific name, in this case deviceName. Here is an example of my input file: <configs> <config name="CFAAI_CFA2" extends="CFAAI" abstract="true"> <param name="deviceName">CFA2</param> </config> </configs> And here is the code I have so far for… Read More Variable in XSLT 3 with conditioning that returns the node name attribute if its child node contains specific name attribute