XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 30th, 2001, 09:21 AM
manju_rn manju_rn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 4 manju_rn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old March 31st, 2001, 03:15 AM
rdominy rdominy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 81 rdominy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via ICQ to rdominy
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.
__________________
Robert Dominy
About Guide for JavaScript
http://javascript.about.com
Software Consulting & Development
http://www.angusog.com

Reply With Quote
  #3  
Old March 31st, 2001, 03:42 AM
manju_rn manju_rn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 4 manju_rn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

manju_rn@rediffmail.com

Reply With Quote
  #4  
Old March 31st, 2001, 03:02 PM
rdominy rdominy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 81 rdominy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via ICQ to rdominy

Reply With Quote
  #5  
Old March 31st, 2001, 03:40 PM
rdominy rdominy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 81 rdominy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Send a message via ICQ to rdominy
Here's another link that has articles specifically on handling binary data in XML:

http://www.xml.com/pub/rg/Binary_Data

Reply With Quote
  #6  
Old April 2nd, 2001, 10:15 PM
manju_rn manju_rn is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 4 manju_rn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thnx Robert,
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.

Cheers,
Manja

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Image Thru XML

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap