|
You could have CF generate the XML
structure by looping over a query or List, instead of serializing and
de-serializing using WDDX. i.e. <cfquery name
=”foo” datasource=”foo”> Select
field_ID, field1, field2 FROM
table Order
by ID </cfquery> <?xml
version="1.0" encoding="UTF-8" ?> <cfloop query=”foo”> </cfloop> </items> You would have strip the whitespace out in Flash, but I’ve used this method
before. It’s a bit of a
workaround, but it does work. It is easier to reference the data this
way. Use LoadVariables
in Flash to access the CFM page that has the XML output. You could also try loading the info in
using URL encoding. See http://www.flashcfm.com Hope this helps, Nolan Nolan J. Dubeau Application Design &
Technology ------------------------------------------------ p. 416.532.8852 -----Original Message----- I'm trying to read a table of comma
separated values using cold fusion so that I can pump them out using XML or
something else that Flash can read. Anyone done this or know how this can be
done. Or is this something I'm going to have to wait for the new cold fusion to
do? thanks
|
- [CFTALKTor] converting a table of CSV values into someth... Jeremy Oudit
- RE: [CFTALKTor] converting a table of CSV values in... Nolan J. Dubeau
- RE: [CFTALKTor] converting a table of CSV values in... charles arehart
- RE: [CFTALKTor] converting a table of CSV values in... Shane Von Svoboda
