Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Grouping / Count Issue [Thread Next] Re: [xsl] Grouping / Count IssueTo: Date: 12/1/2005 3:25:00 PM or, if you are using xslt2
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:key name="f" match="Field" use="@name"/>
<xsl:template match="/">
<xsl:value-of separator=""
select="Report/GrandTotal/RecordValues/Record/FieldValue[key('f',@fieldName)/@dataType='F']/
(' ',
../FieldValue[key('f',@fieldName)/@dataType='V']/string(@fieldValue),substring(key('f',@fieldName)/@title,1,2),
' ',string(@fieldValue))"/>
</xsl:template>
</xsl:stylesheet>
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
