|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: for-each-group - only get elements in each group
Rick Quatro rick@xxxxxxxxxxxxxx wrote:
If you use <xsl:for-each-group select="Story/Category" group-by="."> <category><xsl:copy-of select="current-grouping-key()"/></category> <xsl:apply-templates select="current-group()/following-sibling::Case[1]"/> </xsl:for-each-group> then I think, for your sample, you will get the wanted result. But I am not sure how you want to relate "Category" and "Case" elements.
|
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
|

Cart








