<cfscript> myStruct = StructNew(); myStruct.this = "THIS"; myStruct['that'] = "that"; myStruct["tOther"] = "tOther"; </cfscript> <cfdump var="#myStruct#">
in the above code the case of the keys will match the values.
Massimo, Tiziana e Federica wrote:
Hello folks,
I hope you don't mind if I ask for a test of a UDF that I just wrote. It basically allows XSL transformations with the ability to pass parameters to the XSL template.
The UDF is available on the italian CFUG website:
http://www.cfmentor.com/code/index.cfm?action=script&id=123
In case you would like to see it in action please try this:
http://www.massimocorner.com/demos/xslTransformPlus.zip
It include a copy of the UDF and a sample demo. Any feedback is appreciated.
BTW Due to the way CF return struct's keys without being case sensitive, I forced all the parameters's names to be lower case. I would be more than glad to hear about any alternative
---------------------------- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ----------------------------
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
