WDDX *is* XML. It just happens to have a well-defined format, which is a *good thing*. In fact, there are WDDX libraries for just about every language I can think of, so using it is almost a no-brainer given its strong interoperability. It also quite nicely handles just about any type of data you can throw at it, including nested structures and arrays. It is most certainly a better path to pursue than defining your own serialization format.
Roland ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean Moniatte Sent: Wednesday, March 29, 2006 6:04 PM To: [email protected] Subject: RE: [CFCDev] Structure to XML Thanks for the reply. I need XML, not WDDX. The function you pointed at works only for a structure of simple values. I guess I can start from there and add support for structures of structures. Thanks Jean ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shib71 Sent: Wednesday, March 29, 2006 2:57 PM To: [email protected] Subject: Re: [CFCDev] Structure to XML If you're just using the XML for storage internal to the app, use cfwddx. This tag allows you to convert any CF type (struct,array,query,int,etc), to WDDX (an xml format), and back. If you just want generic XML, use this function. Blair On 3/30/06, Jean Moniatte <[EMAIL PROTECTED] > wrote: Hello, what is the best way to transform a CF structure into an XML object? Thanks, sorry if this is off topic Jean UGAL.net ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting ( www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
