xsl-list
[Top] [All Lists]

Re: [xsl] Variable containing unique values

2008-05-21 12:01:17

you'd have t look at the xalan documentation (or exslt documentatio) for
node-set but it doesn't look like you need to use a node set extension
at all as you don't need the variable.

By the way since you are using using java why can't you use saxon9 ad
xslt2 and make your life a whole lot easier?


                        <fo:table-body>
        select
        
="REPORT/Rollover/RolloverForecast/summaryAccount/element[generate-id()=
generate-id(key('e',rolloverDate)[1])]">
                        <xsl:sort select="."/>
                        <xsl:value-of select="." /><xsl:if
test="position() != last()">,</xsl:if>
                </xsl:for-each>


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--