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

Re: XSL controversy

Subject: Re: XSL controversy
From: Denys Duchier <Denys.Duchier@xxxxxxxxxxxx>
Date: 08 Aug 1999 14:29:36 +0200
sebastian james denys
James Clark <jjc@xxxxxxxxxx> writes:

> - XSLT is better at down translations that up translations; if your
> transformation is going from a less-structured form to a more-structured
> form, XSLT may not be a good choice
> 
> - XSLT is better at transformations on structure than transformations on
> content; if your transformation is doing complex transformations on the
> text content of the document, XSLT may not be a good choice

The technique that I use is to get XSLT to create input for a tool
appropriate for the transformation.  For example, I process a lot of
documentation with program examples for which I want to provide syntax
highlighting.  In order to add highlighting markup, I use XSLT to
extract code fragments and create a file of emacs lisp which when
executed outputs a file of XML with the code fragments augmented with
highlighting markup obtained using font-lock mode.  Emacs _is_ the
right tool for syntax highlighting.  To attempt this directly in XSLT
would not be a fun exercise :-)

Cheers,

-- 
Dr. Denys Duchier			Denys.Duchier@xxxxxxxxxxxx
Forschungsbereich Programmiersysteme	(Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45	http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50			Phone: +49 681 302 5618
66041 Saarbruecken, Germany		Fax:   +49 681 302 5615


 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.