473,800 Members | 2,483 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1762
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
19369
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 in memory - I don't want to create XML file containing data and then load it and transform with XSLT, but I want to do this at once - without writing to a temporary file. Actually I've seen alot articles about parsing XML, but nothing about...
1
1980
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 page, but there's a problem. It runs all the data together on one line. The XSL file is as follows:
4
1973
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 handle on how close XML is to replacing HTML for browsing specifically (I am aware of its other benefits.) Also I do understand that XML can be transformed into HTML but would rather not do this for various reasons.
3
2429
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 figure out how to do so. There is supposed to be a way of using templates and the key function to do grouping, but can it be done with 2 different trees? If so, are there any examples of such things Thanks for any help, Kevin
4
1659
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"/> </FOO>
5
7643
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 business components that can be consumed by WebForms, WinForms, mobile devices, etc? Is it even fair to compare the such technologies? - How about for cases when you need to display dynamic elements on the form/grid (as compared to knowing data elements...
5
1432
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> <MyElement year="2005"><Amount>15</Amount></MyElement> <MyElement year="2006"><Amount>4</Amount></MyElement> <MyElement year="2006"><Amount>7</Amount></MyElement> <MyElement year="2004"><Amount>20</Amount></MyElement>
1
2745
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 consuming. I keep getting the following error when I submit my email to their site. System.Xml.Xsl.XslTransformException: Cannot find the script or external object that implements prefix 'ext:MailingList'. at...
1
3656
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 important: There are some special nodes that will start a new HTML-page ("page-nodes"). Those nodes can be nested. Those nodes have an attribute "name" which is not necessarily unique. There are another special nodes that will create a link in one...
0
9555
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10514
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10260
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10042
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6826
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5616
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4156
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3770
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.