Subject: RE: [xsl] Can you help me out ? From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Thu, 19 Aug 2004 09:41:19 +0000 |
HTH Vasu
From: "john lee" <excel_man@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Can you help me out ? Date: Wed, 18 Aug 2004 19:42:54 +0000
Hi Wendell,
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 it bomb:
<xsl:key name="keyAccount" match="Results/XML_Report/Subject/Trades/Record" use="Account_Type" />
<xsl:for-each select="//Record[generate-id(.) = generate-id(key('keyAccount', Account_Type)[1])]"> --> This line caused it to bomb
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> part.
This is the structure of my xml data: <Results> <XML_Report> <Subject> <Trades> <Record> <Account_Name></Account_Name> <Account_Type></Account_Type> </Record> <Record> </Record> </Trades> </Subject> </XML_Report> </Results>
Are there any alternative to do the grouping ?
Any idea will be appreciated, Thanks
Cezar
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Can you help me out ?, john lee | Thread | RE: [xsl] Can you help me out ?, Vasu Chakkera |
Re: [xsl] Encoding base64 with XSLT, David Carlisle | Date | Re: [xsl] Encoding base64 with XSLT, Michael Wiedmann |
Month |