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 July 14th, 2011, 06:16 AM
acid_base_salt acid_base_salt is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2011
Posts: 1 acid_base_salt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 57 sec
Reputation Power: 0
Arrow How to encode a image in XML file with help of XSLT file

I want to send a image (.JPG) through

XML file.How can I encode image data in

XML file with help of XSLT file so that

user can see the image in Outlook. Image

is not a sharad folder location it is my

personal folder but user should able to

see image.

I have

worked out and I got three ways to solve

a problem.
1. CDATA-
2. BASE64
3. just creating a URL reference to the

image in the XML

I worked on CDATA and BASE64 but image

is not coming on user Outlook. So please

help me how to get image. How to write

code in XML or XSLT so that I can get

image and also say that is it possible

???

Reply With Quote
  #2  
Old November 12th, 2011, 02:34 AM
cashloan cashloan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 42 cashloan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 51 m 59 sec
Warnings Level: 10
Number of bans: 2
Reputation Power: 2
0 down vote


If I understand your question correctly, you want to send an image in an email. If this is the case, then, AFAIK, you have two options:

*

send the image as an attachment to the email: in this case you may want to look at MIME
*

another option is sending an HTML email, in which the body of your email is essentially an HTML snipped: in this case you can put in the HTML a link (URL) to your image

In both cases I don't see how you can do this with XML/XSLT. Maybe you have some XML containing some data that you want to send by email, including the link to an image. If this is the case, then you can use XSLT to transform your input XML into (X)HTML and then use HTML e-mail.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > How to encode a image in XML file with help of XSLT file

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