Subject: Re: [xsl] targeting the 'first' instance of the same element in variable structures From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 2 Jul 2024 11:50:04 -0000 |
>That sounds as ifB match="(body/div//head)[1]" should do as the XSLT processor should still see the parent (or perhaps not, what is transform:transform?, BaseX or exist-db, would need to check how their XSLT function works exactly).
It's eXist-db's XSLT transformation function, that hands off to Saxon. The fragment is detached from the node when passed into the function.
works if the div from XQuery is passed in as the root element to Saxon by exist-db's transform:transform
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] targeting the 'first' ins, Jean-Paul Rehr rehrj | Thread | Re: [xsl] targeting the 'first' ins, Liam R. E. Quin liam |
Re: [xsl] targeting the 'first' ins, Jean-Paul Rehr rehrj | Date | Re: [xsl] targeting the 'first' ins, Liam R. E. Quin liam |
Month |