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

Thinking Out loud - XML or XSL for boiler messages

Subject: Thinking Out loud - XML or XSL for boiler messages
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Sun, 29 Feb 2004 08:52:20 -0700
loud boiler
I'm thinking out loud...


Hello,
Trying to determine the best way to arrange a series of different messages a
user can choose from to send to a client.  Initially, XML is the way to go,
but (and this is why I am "thinking out loud") the more functional way might
be to arrange the messages as XSL template rules.  Each pose a problem
(ultimately, with solutions I am not aware of or comfortable with):

The XML problem:
If messages are stored in a simple XML document, then I face the challenge
of how to insert additional information into the XML when transforming.  For
example:  the messages are generic, and might look like this in the xml
source.. "Dear [first_name], we apologize in the delay for blah blah.."
where [first_name] needs to be translated into whomever the user has chosen
to send the message.
The XML advantage:
It is easy to create HTML selector from the XML source by including a
<Title> and <short_description> for each <MSG> and then applying a template
match against the XML source

The XSL problem:
There is not any easy way to create the HTML selector(s) from an XSL source.
The XSL advantage:
Of course, you have 100% freedom to create messages with all types of
different formatting and super easy to add additional client information
where ever.


Well, that is where I am at.  I'm still plugging away, not stuck yet, but
not blazing along either.  Any ideas would be appreciated.

Karl


 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.