xsl-list
[Top] [All Lists]

[xsl] for-each-group group-by

2012-04-05 09:30:10
Ken, Michael,
  Thanks for suggesting the use of the replace() function in the group-by 
attribute.

  Here's what worked for me in case it helps anyone else out. 

<xsl:for-each-group select="//section" 
group-by="replace(paperTitle,'([\W\d]+)?(\w)(.*)','$2')">

Craig




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>