OK, we've both tried exactly the same things, and come to the same
conclusion, at least I'm not going mad!  I was also going to conclude that
it must be a bug in the way CF5 talks to COM objects.

Pitty because I've got two choices.  On the one hand I use XSL a lot,
especially the XMLDump tag which dumps an XML document out using the IE type
stylesheet.  On the other hand I need the QofQ feature of CF5 for my
XMLQuery tag, that allows you to query an XML document using SQL.

Oh well, I'll report it to MACR, and keep an eye on the forums.

Dave

>>  -----Original Message-----
>>  From: Brett Suwyn [mailto:[EMAIL PROTECTED]]
>>  Sent: 13 July 2001 16:02
>>  To: [EMAIL PROTECTED]
>>  Subject: RE: [cf-xml] CF5 Warning
>>  
>>  
>>  I've spent a few hours working on this problem and still 
>>  have not been
>>  able to use the XSLTemplate interface in CF5 due to this problem.  
>>  
>>  I am getting the same error as you are receiving.  From the TypeLib
>>  viewer the stylesheet "property" is registered as a method 
>>  expecting a
>>  XMLDOMNode as input, but that throws a different error, I 
>>  tried it with
>>  a freethreaded DOM node, and tried every different example 
>>  I could find
>>  using this interface.  It seems to me that this is a valid 
>>  bug in CF5.
>>  
>>  If anyone finds a solution (or takes it to Macromedia) to 
>>  this please
>>  post your results to the list, 
>>  
>>  -Brett
>>  
>>  |>   -----Original Message-----
>>  |>   From: [EMAIL PROTECTED] 
>>  |>   [mailto:[EMAIL PROTECTED]] On Behalf Of 
>>  |>   Maddison, David
>>  |>   Sent: Friday, July 13, 2001 10:36 AM
>>  |>   To: [EMAIL PROTECTED]
>>  |>   Subject: RE: [cf-xml] CF5 Warning
>>  |>   
>>  |>   
>>  |>   Actually after futher analysis, it appears to be a change 
>>  |>   in the XSLT interface.  We have a tag XSLStyleSheet which 
>>  |>   loads up a pre-compiled stylesheet.
>>  |>   
>>  |>   In order to use the XLS processor, you create an 
>>  |>   MSXML2.XSLTemplate and set the stylesheet property to a 
>>  |>   DOM holding your stylesheet.  Under CF4.5 with MSXML3 SP1 
>>  |>   the following worked :
>>  |>   
>>  |>       <CFSET xslt.stylesheet = xom>
>>  |>   
>>  |>   However this now breaks under CF5 with :
>>  |>   
>>  |>   Error building an argument list for: STYLESHEET
>>  |>   
>>  |>   Which sort of means it's expecting a function call??  
>>  |>   Mmmm, I'll do some more work on this and send out my 
>>  |>   findings.  As you've said the parser seems to be working 
>>  |>   fine, just the XSLT seems to break.
>>  |>   
>>  |>   Dave Maddison
>>  
>>  
>>  -----------------------+
>>  cf-xml mailing list
>>  [EMAIL PROTECTED]
>>  http://torchbox.com/xml
>>  


-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml

Reply via email to