[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: preceding-sibling in a group
On 19.05.2021 18:45, rick@xxxxxxxxxxxxxx wrote:
If I am processing elements in the current-group (), is the preceding-sibling axis restricted to the current group? I want to test the value on a preceding-sibling element, but want to restrict it to the group I am processing. Any pointers would be appreciated. I am using XSLT 3. Thank you very much.
XPath navigation along an axes is not related to grouping. If you want to operate item-wise on the sequence like current-group() use xsl:iterate or xsl:for-each or perhaps a higher-order function. Perhaps show us an example of the input data, the grouping code you have plus the code to process current-group(), then explain which node(s) you are looking for.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|