473,387 Members | 1,504 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,387 software developers and data experts.

Using XSLT to generate emails

Howdy:

I have 2 general questions regarding the use of XSLT to generate
emails. We have several procecesses that use XSLT to generate emails.
We frequently run into issues where a client complains that they cannot
traverse hrefs in the emails. When er acquire the culprit email it
appears that their reader is not handling the HTML encoded values (i.e.
&) properly. Is this a problem only with older readers (i.e. old
version of Lotus Notes) or is this widely encountered. Also, we have
also encountered problems with line lengths (line exceed the SMTP
standare 998 characters). Is there a way to limit this in the XSLT or
is the line length hard to control.

Please let me know what you think.

Tom

Nov 12 '05 #1
1 1733
tc****@hotmail.com wrote:
Howdy:

I have 2 general questions regarding the use of XSLT to generate
emails. We have several procecesses that use XSLT to generate emails.
We frequently run into issues where a client complains that they cannot
traverse hrefs in the emails. When er acquire the culprit email it
appears that their reader is not handling the HTML encoded values (i.e.
&) properly. Is this a problem only with older readers (i.e. old
version of Lotus Notes)
Yes.
or is this widely encountered.
No, I haven't seen a report of it for about two years.

You can also use the semicolon as the delimiter, but that too may not be
supported by broken software.

Consider sending a plain-text body-part, with the HTML message as an
attachment (I hope you are doing this already: sending HTML in the
body-part is unfair to your recipients and will get flagged as spam
by many filters). Make your XSLT generate the plain-text part as
plain text, so the ampersands are in their raw form, not as character
entity references.
Also, we have
also encountered problems with line lengths (line exceed the SMTP
standare 998 characters). Is there a way to limit this in the XSLT or
is the line length hard to control.


Hard in XSLT 1.0.

The easy solution is to make sure that your source text contains
linebreaks at suitable places.

///Peter
--
XML FAQ: http://xml.silmaril.ie/

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: K. N. | last post by:
Is there any good and fast Python module for XSLT processing ? I'm going to use XML and XSLT to generate web pages, so I need XSLT processor that will be able to transform for example a DOM object...
1
by: Barry Anderberg | last post by:
I have an XML document that I am trying to display in my ASP.NET page. I am using an XSL Transform to display repeating XML data in a specific format. It reads the data, and displays it on my...
4
by: Pat | last post by:
Is anyone using XML instead of HTML for pages of content? If so is there a public site to browse? Can someone point me to a discussion of the pros and cons of doing this? I am trying to get a...
3
by: Kevin Brown | last post by:
Is there anyway to generate this type of resulting HTML table from this XML using XSLT? Basically I need to be able to consult 2 trees of data to generate the HTML, but I have not been able to...
4
by: titanandrews | last post by:
Hi, I have ran into a situation that I think should be possible, but I am fairly new to XSLT so maybe not. Suppose I have the following document <ROOT> <FOO name="A"> <CHILD name="B"/>...
5
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating...
5
by: hilz | last post by:
Hi all I have this situation where I have an xml file similar to this: <Root> <MyElement year="2004"><Amount>10</Amount></MyElement> <MyElement year="2004"><Amount>11</Amount></MyElement>...
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: Daniel Hilgarth | last post by:
Hello, I am currently trying to use XSLT for the creation of multiple HTML-files from a single XML-File. This HTML-files need to have links to each other. The following information might be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.