w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
XSLT: Split an xml file by number of records and split file if element text differs from the last

Try to nest two groupings:

<xsl:for-each-group select="//record" group-adjacent="PieFlavor"> <xsl:for-each-group select="current-group()" group-adjacent="(position() - 1) idiv $recordNum">

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.