Hi,
I was trying to use the tag CF_XMLDump to show the content of an xml
file, which is
stored in the xmlsamples directory in the wwwroot of the CFusionMX
directory and received an error
An exception
occurred when executing a Com method.
|
|
|
The cause of this
exception was that: java.lang.NoSuchMethodException: There is no method
called Item.
|
|
|
|
|
The Error Occurred in
C:\CFusionMX\CustomTags\XML\XSLStyleSheet.cfm:
line 198
Called from
C:\CFusionMX\CustomTags\XML\XMLDump.cfm: line 205
Called from
C:\CFusionMX\wwwroot\xmlsamples\datasourcetest.cfm: line 2
Called from
C:\CFusionMX\CustomTags\XML\XSLStyleSheet.cfm: line 198
Called from
C:\CFusionMX\CustomTags\XML\XMLDump.cfm: line 205
Called from
C:\CFusionMX\wwwroot\xmlsamples\datasourcetest.cfm: line 2
|
196 : 197 : <!--- Load up the XSLDoc into the XSL Parser ---> 198 : <CFSET xslt.stylesheet = xom> 199 : </CFIF> 200 : |
|
|
Attached are the codes for the test file and the xml file. The same
files work in coldfusion 5 from inetpub/wwwroot directory.
Please let me know if we can use CFXMLToolkit in coldfusion mx
applications.
Thank You
Hilly Kalita
|
datasourcetest.cfm
Description: Binary data
<poheader>
<BuyerCompName>Ahold USA PPO</BuyerCompName>
<OTotalPrice>32600</OTotalPrice>
<PONumber>545050</PONumber>
<POCreateDate>2002-12-03</POCreateDate>
<IsFob>1</IsFob>
</poheader>