473,396 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1717
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mohit | last post by:
Hi Friends I have to call 1 of the 2 child XSLT files from the Main XSLT file based on some criteria. I want one child XSLT file will be executed by version 1 of XSLT processor and the other by...
3
by: Phil | last post by:
Hi everybody, I am a XSLT beginner and the following problem really makes me crazy ! I have a main "contacts.xml" document which contains references to several contact data XML files. My aim...
4
by: Ringo Langly | last post by:
Hi all, I'm a seasoned web programmer, but I've never touched XSLT. It's always been one of those acronyms I've never needed to educate myself on. Now... we're working with a web content...
4
by: Moogy | last post by:
I'm pulling my hair out here. First, I'm new to XML, so that doesn't help, but none of this makes any sense to me. All I'm trying to do is take a simple source XML file and translate it with an...
3
by: Teksure | last post by:
Hi group, searching in the Internet I found two products for XML which incorporate a very robust debugger for XSL/XSLT, I would like you to see these products and then, give me your opinion about...
7
by: Harolds | last post by:
The code below worked in VS 2003 & dotnet framework 1.1 but now in VS 2005 the pmID is evaluated to "" instead of what the value is set to: .... xmlItems.Document = pmXML // Add the pmID...
3
by: thomas.porschberg | last post by:
Hi, I want to read records from a database and export it in an arbitrary format. My idea was to feed a class with a String array fetched from the database and let this class fire SAX events as...
1
by: Nick | last post by:
I am working on a website for a client and one of their requirements was to have a mailing list. I decided to XSLT to transform "templates" to HTML so that editing was very easy and less time...
1
by: Sergey Dubinets | last post by:
In effort to prioritize our goals we composed the list of random features each of them may add value to set of XSLT tools offered from Microsoft. 1. XSLTc (Compiler for XSLT...
18
by: yinglcs | last post by:
Hi, I have a newbie XSLT question. I have the following xml, and I would like to find out the children of feature element in each 'features' element. i.e. for each <featuresI would like to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.