Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 13th, 2006, 04:45 PM
Scott
Guest
 
Posts: n/a
Default XML, XSLT, EMail

Our Client wants to do a daily, weekly, monthly emailing campaign to it
registered users. Can we send an XML document through the body of an
email when the user opens it it will call the xsl template on our web
server and format the data or better yet what is the best way to do
this the best being
Lowest Maintence
Fastest building of reciepents

THe XML will be custimized to the specific users.

  #2  
Old December 13th, 2006, 04:45 PM
Andy Dingley
Guest
 
Posts: n/a
Default Re: XML, XSLT, EMail

Scott wrote:
Quote:
Can we send an XML document through the body of an
email when the user opens it it will call the xsl template on our web
server
No. Do it server-side before you send it out. Send it in plain text
format too.

Do you _want_ customers to be able to read this? Or is it more
important to apply an inappropriate but fashionable new technique, just
for the sake of it?

Conveniently, XSLT is also an easy route to generating both formats

  #3  
Old December 13th, 2006, 05:15 PM
Joseph Kesselman
Guest
 
Posts: n/a
Default Re: XML, XSLT, EMail

HTML mail is a bad idea to begin with, and many folks now treat it as an
indication that the mailing is spam. A mail reader is not a browser;
many won't handle rich text and I don't know of any that will try to run
stylesheets.

If you want your customers to be able to read the mail, send plaintext
unless *they* indicate they want HTML. Do the rendering on the server
side rather they indicate they can handle this as well (nobody will).

Using XML as your back-end representation is a fine idea. But it's not
what you want to send out.
  #4  
Old December 14th, 2006, 10:28 PM
Scott
Guest
 
Posts: n/a
Default Re: XML, XSLT, EMail


Joseph Kesselman wrote:
Quote:
HTML mail is a bad idea to begin with, and many folks now treat it as an
indication that the mailing is spam. A mail reader is not a browser;
many won't handle rich text and I don't know of any that will try to run
stylesheets.
>
If you want your customers to be able to read the mail, send plaintext
unless *they* indicate they want HTML. Do the rendering on the server
side rather they indicate they can handle this as well (nobody will).
>
Using XML as your back-end representation is a fine idea. But it's not
what you want to send out.
So in summary I want to build plain text email okay but I can use XML
xslt to build the plain text on the server?

  #5  
Old December 14th, 2006, 10:28 PM
Joseph Kesselman
Guest
 
Posts: n/a
Default Re: XML, XSLT, EMail

Scott wrote:
Quote:
So in summary I want to build plain text email okay but I can use XML
xslt to build the plain text on the server?
XSLT can be told to output XML markup, HTML markup, or unformatted text;
it's just a matter of writing the stylesheet correctly to produce the
intended results.


--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles