[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Fw: Styling Stylesheets article: First half publis
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|