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

RE: Fw: Styling Stylesheets article: First half publis

Subject: RE: Fw: Styling Stylesheets article: First half published
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Wed, 7 May 2003 11:42:33 +1200
xslt aop
Joseph Kesselman wrote:

> The first installment of my article on using XSLT stylesheets to
> annotate/enhance other XSLT stylesheets just went live on
> developerWorks:
>         http://www.ibm.com/developerworks/xml/
>
> This part's largely motivation and context-setting, though it does
> introduce the basic tricks which are needed to generate new
> stylesheet
> behaviors.

Excellent article Joseph!

I'm a big fan of "meta-stylesheets" (XSLT that outputs XSLT), and I've used
it a lot, though not in this way.

It seems to me that the paper above describes an application of
"aspect-oriented" programming in xslt (though the term AOP is not mentioned
in the article). In AOP, different aspects of the system are programmed
independently, and "woven" into a final program. In this example, "debug
messages" are an aspect, and the "weaver" stylesheet automatically inserts
code to generate these messages into each template of another XSLT
stylesheet.

Readers might be interested to see a related article I read recently:
http://www.info.uni-karlsruhe.de/~pulvermu/workshops/aosd2002/submissions/sc
honger.pdf

The above article describes a technique for using XSLT to implement AOP in
Java. First the Java code is parsed into an XML representation of the Java
syntax, then XSLT is used to insert other bits of Java into the appropriate
places, then the XML is converted back to Java and compiled.

Cheers

Con


 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.