468,268 Members | 1,985 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

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.

Dec 13 '06 #1
4 1580
Scott wrote:
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

Dec 13 '06 #2
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.
Dec 13 '06 #3

Joseph Kesselman wrote:
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?

Dec 14 '06 #4
Scott wrote:
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
Dec 14 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Ringo Langly | last post: by
4 posts views Thread by Moogy | last post: by
3 posts views Thread by Teksure | last post: by
7 posts views Thread by Harolds | last post: by
3 posts views Thread by thomas.porschberg | last post: by
1 post views Thread by Nick | last post: by
1 post views Thread by Sergey Dubinets | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.