'I've' built a file system using cfcs and keeping in the cfscript syntax 
instead of the tag based, and it's served me well. I understand the thoughts 
of having a "mapping" or dedicated folder for udfs, . but how would that 
fair with efficiency? I don't know the logistics of it, but seeing how udfs 
are mainly used for that very reason, it would be a shame to see it loose 
it's gloss..

On that note, . I'm in the middle of working on a cfc/xml application, and 
was curious if anyone were to try making a udf or series of them for getting 
the elements attributes, text, comment, ns etc.?

<cffunction name="getxmlcomment" access="public" returntype="string" 
displayname="" hint="">
                <cfargument name="xmlvar" type="string" required="true"  
displayname="" />
                <!---add . with &"."& since i cant have it in the beginning, or end of 
a 
variable. --->
<cfset foo = xmlvar&"."&"xmlcomment">

                <cfreturn foo>
        </cffunction>

just a quick tag based tester and it always seems to bail.

[EMAIL PROTECTED] is what it is returning..
all I was trying to accomplish was passing a variable to the function and 
get the variable back with the .xmlcomment appended to it, saving effort of 
rewrite would be my only use for it, but it always comes back as 
[EMAIL PROTECTED] or some variation of, . any 
thoughts? I've also tried it with getxmltext() getNSUri() etc. but as I 
said, just bails..
Is it even possible? or am I looking in the wrong direction.

Robby

_________________________________________________________________
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

Reply via email to