March 30th, 2001, 09:21 AM
Hi Guys and Gals,
IS it possible to Transfer the Image thru an XML format...if yes, how??? IF no, what's the alternative.
I have found out a Solution thru MACROMEDIA FLASH5 thru its own proprietary GENERATOR componenet...although not a concrte one.
March 31st, 2001, 03:15 AM
Remember XML is designed to be a platform neutral text format, so embedding binary data isn't something that it was really designed to do. That said if you want to embed an image into an XML document then you'll have to write some code to encode the image into some sort of binary-text format like base64 and then stuff that into a CDATA section.
However, for most situations I'd suggest just creating a URL reference to the image in the XML.
March 31st, 2001, 03:42 AM
Can u send an Example to me...i am not too used to CDATA section.. if u can send me an Example i would be Greatful.....i'd be happy if u can mail me
March 31st, 2001, 03:02 PM
March 31st, 2001, 03:40 PM
April 2nd, 2001, 10:15 PM
ur suggestions and the links provided were indeed helpful....
Actually we r researching on the Complete Shilft from Java Client to MacroMedia Flash 5. Flash 5 has all the Capabilities of thick client and can still be run as Thin Client inside a Browser. It can conect to all the Server side Programs such as Servlets, CGi or ASp. The Medium of Transfer is XML. So all the Data Including Images and Sound needs to be PAssed as an XML Data.
Just thought u would be intersted.