Subject: Re: [xsl] How to collect the content of the inline siblings into a single element. From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 28 Dec 2024 05:37:43 -0000 |
On Sat, 2024-12-28 at 04:26 +0000, Rajagopal CV cvr3@xxxxxxxxxxxxxxxx wrote: > > I want the followingB output. I want to flatten out the <strong> > element.B It looks like you want to join adjacent strong elements, deleting spaces between them. In XSLT 2 or 3 you can probably use grouping to do this, but in XSLT 1 it's a little trickier. Here's a version using a recursive function, for XSLT 1. -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org [demime 1.01d removed an attachment of type application/xslt]
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Aw: [xsl] How to collect the co, Don Smith dsmith_loc | Thread | Re: [xsl] How to collect the conten, Liam R. E. Quin liam |
Aw: [xsl] How to collect the conten, Martin Honnen martin | Date | Re: [xsl] How to collect the conten, Liam R. E. Quin liam |
Month |