Well, there's CFWDDX, but that requires a very specific XML document (a WDDX
one).  However, I've had success with using xmlTransform() and a XSLT sheet
to convert arbitrary XML to WDDX and then deserializing it into CF
variables.  I doubt it's a particularly efficient approach, but I'm only
needed it for low-use, admin type functionality.

To do arbitrary XMl to CFML conversions, I think you're out of luck, at
least with native CFML.

barneyb

> -----Original Message-----
> From: Jim Campbell [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 06, 2003 2:08 PM
> To: CF-Talk
> Subject: XML -> Struct -> XML
>
>
> Hi -
>
> This seems like such an obvious function, I'm sure it's right
> under my nose,
> but I'm burned out this afternoon :)
>
> Is there a function/UDF/custom tag that converts XML-formatted text to a
> Struct and back again?
>
> - Jim
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to