Its not about Xselerator or any other IDE. Its about what XSLT processor is
being used for the transformation.
Xselerator can be configured to run multiple transformation engines...
by default Xselerator uses MSXML... so to reproduce your problem , check out
what transformation engine your cold fusion uses, and configure the
xselerator with that processor. and see if you can replicate the problem..
As such there is nothing wrong with that for-each.. if you want to get more,
send more information.. may be ur XML and your XSL .. some one can check the
whole file and see if problem is any where else...
Hope this helps
From: "john lee" <excel_man(_at_)hotmail(_dot_)com>
Subject: [xsl] Weird Problem
Date: Wed, 18 Aug 2004 17:44:12 +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?
Are there any alternative to do the grouping ?
Any idea will be appreciated, Thanks
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
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>
It's fast, it's easy and it's free. Get MSN Messenger today!