Two Laptop Bag*
The moose likes XML and Related Technologies and the fly likes creating mail using xml and xsl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "creating mail using xml and xsl" Watch "creating mail using xml and xsl" New topic
Author

creating mail using xml and xsl

Vinay Singh
Ranch Hand

Joined: Dec 15, 2004
Posts: 174
I have to send email to customers after they have finished their shopping.
It consists of list of items, total, address etc.
I have created a xsl for that and then want to add xml data to that xsl to generate the html email.
What is the best way to achieve this ?
Or is there a different approach to generate html email ?
I am using java Mail API

Thanks


Technical quiz and interview questions   SCJP 6 mock practice test
Amit M Tank
Ranch Hand

Joined: Mar 28, 2004
Posts: 257
Create html string out of the xsl transformation of your XML. Use that HTML String as the body of your email and you should be good to go.


Amit Tank
Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating mail using xml and xsl
 
Similar Threads
JSP for transforming XML using XSL
REST vs HTML
repainting problems...
using .xml and .xsl file in Servlets/jsp files to generate .html content (to browser)
JSP Vs (XML and XSL)