Answered
Coldfusion 5 and XML: is it possible?
Hello again.
I shy away from forums generally, but because of the speedy response, I have come back again with another problem. Thanks BKBK!
My XML reader was fine, working, singing and dancing. But when I shifted the script onto the live server where I received
an error message saying that "xmlParse" (the glorious function I had been using to handle my XML up to this point) was unidentified. I realised that the live server was using CF 5. I built the script in CF 6. xmlParse isnt in CF 5 apparently.
Our crappy hosting company wont install CF 6 or 7. Not yet at least.
Now Ive looked in the CF 5 book here in the office for some tips. The sorry equivalant is CFWDDX. I couldnt parse a simple <root><node></node></root>. Maybe Im doing it wrong. From what Ive read and seen, WDDX is its own format, which doesnt seem to do 'casual xml'. The file I would like to parse is 37 MB's filled with &s and such and I dont think CFWDDX is going to cut it. If anyone knows of a custom tag or workaround or any general tips that could help me out. I will continue to browse empty search results upon empty search results looking of a solution.
Its an odd problem and unnecessary, a work around would be to upgrade to cf6 or higher but the hosting company are not willing.
Thanks again.
El_Crabs
I shy away from forums generally, but because of the speedy response, I have come back again with another problem. Thanks BKBK!
My XML reader was fine, working, singing and dancing. But when I shifted the script onto the live server where I received
an error message saying that "xmlParse" (the glorious function I had been using to handle my XML up to this point) was unidentified. I realised that the live server was using CF 5. I built the script in CF 6. xmlParse isnt in CF 5 apparently.
Our crappy hosting company wont install CF 6 or 7. Not yet at least.
Now Ive looked in the CF 5 book here in the office for some tips. The sorry equivalant is CFWDDX. I couldnt parse a simple <root><node></node></root>. Maybe Im doing it wrong. From what Ive read and seen, WDDX is its own format, which doesnt seem to do 'casual xml'. The file I would like to parse is 37 MB's filled with &s and such and I dont think CFWDDX is going to cut it. If anyone knows of a custom tag or workaround or any general tips that could help me out. I will continue to browse empty search results upon empty search results looking of a solution.
Its an odd problem and unnecessary, a work around would be to upgrade to cf6 or higher but the hosting company are not willing.
Thanks again.
El_Crabs
