[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: email and XSL

Subject: Re: email and XSL
From: "Bob DuCharme" <bob@xxxxxxxxx>
Date: Wed, 30 May 2001 10:35:24 -0400
format email with xsl
> If a certain event occurs in a transformation I would like to send an
> email out.  Is this possible from within the XSL itself or will I have
> to generate html that send an email onload?

How's this: most XSLT processors give you some way to send output to
multiple files. (The XSLT 1.0 Recommendation doesn't provide for this, so it
varies from processor to processor.) You could output something that needs
to be e-mailed to a specific filename, or, if the same stylesheet needs to
create multiple e-mails, to a specific directory. Then, when the
transformation is done, a batch file or shell script driving the process
could check for the existence of the file or files and e-mail them if found
using sendmail under Unix, postmail under Windows, or whatever is
appropriate on your operating system.

good luck,

Bob DuCharme            www.snee.com/bob             <bob@
snee.com>      see http://www.snee.com/bob/xsltquickly for
info on upcoming "XSLT Quickly" from Manning Publications.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.