|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Key functionality in XSL
Thanks David. I want to iterate with the Key.
I tried this way its not working. <xsl:key name="k1" match="ROW" use="COLUMN[@NAME ='JOBCODE'] | COLUMN[@NAME = 'JC_CODE']"/> <xsl:variable name="job_code" select="'P10'"/> <xsl:variable name="jc_code" select="'P10'"/> <xsl:variable name="keyvalue" select = "concat($job_code,'|',$jc_code)"/> <xsl:for-each select="key('k1',$keyvalue)">
<!-- some output-->
</xsl-for-earch>is this not correct way of doing. Thanks, Anil David Carlisle wrote: <xsl:key name="k1" match="ROW" use="COLUMN[@NAME = 'JOBCODE'],COLUMN[@NAME = 'JC_CODE']"/> like this?
|
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
|






