On 9/14/05, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:

> Yeah, don't use XMLNew ... or CFXML... use cfsavecontent and generate
> the XML as you would an html page...
> 
> <cfsavecontent variable="myxml"><cfoutput>
> <question id="#questionid#">
>        <eng>#xmlformat(questiontext)#</eng>
>        <chn></chn>
> </question>
> </cfoutput></cfsavecontent>

Y'know, when I was writing the code that generates the XML document, a
few people asked me why I didn't just use <cfsavecontent> (since this
is new area for me, it took me a while to get things working correctly
with the CF XML functions).

I was far enough into it that I just wanted to finish what I started
the way I started...and when I was done, the consensus was that the CF
XML functions did look "sexier" than a straightforward <cfsavecontent>
would have...  :)

....but sexiness aside...is there any good reason to struggle with the
CF XML functions when a <cfsavecontent> will do the trick that much
easier?


-- 
Charlie Griefer

================================================
"...All the world shall be your enemy, Prince with a Thousand Enemies, 
and whenever they catch you, they will kill you. But first they must catch 
you, digger, listener, runner, prince with a swift warning. 
Be cunning and full of tricks and your people shall never be destroyed."

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218215
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to