Re: preceding-sibling in a group
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
On 20.05.2021 22:36, Martin Honnen [email protected] wrote: >> The idea is that when I see a =93NOTE=94 string, I want that entry and a= ll >> following within the same group to be <note> elements. So I am look for >> preceding-sibling or self that contains =93NOTE=94 but restricted to the >> same group. I am using XSLT 3. Thank you very much. > > Perhaps using an inner group-starting-with: Or in Saxon PE or EE https://www.saxonica.com/html/documentation10/functions/saxon/items-before.= html and https://www.saxonica.com/html/documentation10/functions/saxon/items-from.ht= ml could help. --~---------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386 or by email: [email protected] --~--