|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Grouping/Filtering issue with preceding/foll
Tempore 23:03:47, die 08/05/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Jacquo Johnson <genxgeek@xxxxxxxxx>:
btw, here you have a sample using the Muenchian technique: <xsl:key name="recordByC" match="Record" use="CodeId"/> <xsl:key name="recordByCA" match="Record" use="concat(CodeId,AttributeName)"/> <xsl:template match="/">
<xsl:variable name="uh2" select="key('recordByC','30DAYPM')"/>
<xsl:element name="Copy">
<xsl:copy-of select="$uh2"/>
</xsl:element>
<xsl:element name="Filter">
<xsl:copy-of select="$uh2[generate-id()=generate-id(key('recordByCA',concat('30DAYPM',AttributeName))[1])]"/>
</xsl:element>
</xsl:template>regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) B+N&N9N;N.N:N?N?N= N5N9N=N1N9 N<N1N;N;N?N= N7 ON9N;ON;N1N;N?N=B; - NN;N5ON2N?ON;N?O
|
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








