Evaluate wouldn't work, you'd have to do this:

read XML,
run XSLT
write result to file
cfinclude result

You could write a custom tag that could come close to doing that. 
Just have to make sure it resided on the same filesystem as the file
it's being called from so you can do the relative pathing correctly.
I.e. same drive letter on windows, because it lacks a unified file
system.

Or, as long as you're using BD and don't care about CF, you could use
there dynamic eval function (the name escapes me) in place of the last
two steps.

cheers,
barneyb

On 8/1/05, Anthony Prato <[EMAIL PROTECTED]> wrote:
> What would really be nice if you could use XSLT and CFINCLUDE together.
> something like:
> <cfinclude template="myBizXml.cfxml" xsl="xml2cfml.xsl">
> so that the xsl could be run on the xml before being loaded as CFML
> like a regular cfm page. right now all you can do is open the xml, run
> the tranformation and then I guess you would have to use evaluate().
> (yuk)
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213418
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to