The code weight was my concern as well, I looked at soXML initially and it's
solid, but it's also overkill for 90% of what I'm doing. I wrote a simple
UDF that applies an XSL template to and XML document. That's mostly what I
use. That and a small cfscript that passes attributes to an XSL template.
The soXML tag is great, but heavy. I like the idea of cutting it into
seperate tags, or even into a series of UDFs that could be called
individually.
-------------------------------------------------------------------
My UDF, if anyone cares or wants it:
-------------------------------------------------------------------
function xslt(source,style){
objSource=CreateObject("COM", "Microsoft.XMLDOM", "INPROC");
objStyle=CreateObject("COM", "Microsoft.XMLDOM", "INPROC");
objSource.async = "false";
sourceReturn = objSource.load("#source#");
objStyle.async = "false";
styleReturn = objStyle.load("#style#");
styleRoot = objStyle.documentElement;
xsloutput = objSource.transformNode(styleRoot);
return xsloutput;
}
-------------------------------------------------------------------
Joshua Miller
Web Development::Programming
Eagle Technologies Group, Inc.
www.eagletgi.com
[EMAIL PROTECTED]
-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml