|
This article demonstrates how
to automate e-mail
publishing chores with
Java and XML. This
concrete application of XML
and XSLT describes an e-mail
newsletter (e-zine)
publishing application that
outputs both HTML and plain
text e-mail messages. Five
reusable code samples
include a Java program to
send e-mails using JavaMail,
an XSLT style sheet to
convert the DocBook sample
introduced in Part 1 to
HTML, a Java configuration
handler (in the form of a
SAX ContentHandler), and the
Java code that puts it all
together in a multistepped
transformation.
Date: Apr, 23 2001 |