[XSL-LIST Mailing List Archive Home]
[xsl] Can you help me out ?
Subject: [xsl] Can you help me out ?|
From: "john lee" <excel_man@xxxxxxxxxxx>
Date: Wed, 18 Aug 2004 19:42:54 +0000
I encountered a strange problem. I use Xselerator to merge my xml and xsl,
and it generated HTML successfully, but when I use coldfusion to merge the
report, it generated a java.lang.null Exception Error.
After looking deeply into the problem, I found out this line is what caused
<xsl:key name="keyAccount" match="Results/XML_Report/Subject/Trades/Record"
<xsl:for-each select="//Record[generate-id(.) =
generate-id(key('keyAccount', Account_Type))]"> --> This line caused it
Anybody knows why xselerator can run it without any problem, but generates
an error in Coldfusion? I think the problem is with the match="...." area,
but I have keep changing the value, it still wont work. It's either
generating the error or display the html output without the <xsl:for-each>
This is the structure of my xml data:
Are there any alternative to do the grouping ?
Any idea will be appreciated, Thanks
Add photos to your e-mail with MSN 8. Get 2 months FREE*.