This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

XSLT made simple


Inspired by the recent mention of XSLScript and ShoXS on this list I have
written an XSLT stylesheet which displays XSLT in an easy to read format.
Its available at:
http://www.capescience.com/simplifiedxslt.xslt

One nice feature is that once you add the stylesheet processing instruction
(see below) to the start of an XSLT file, when opened in a web browser, it
will appear in the simplified form.

<?xml-stylesheet href="http://www.capescience.com/simplifiedxslt.xslt";
type="text/xsl"?>

I've stayed faithful to the XSLT keywords, as I hope this will serve as a
halfway house for people who are put off by the XML syntax. I am looking for
other ways of making the XSLT we write more readable to our customers. I
would be very interested in feedback on ways of doing this.
For example, does replacing an xsl:choose containing a single xsl:when and
xsl:otherwise with an if, then, else improve things or just add an extra
level of confusion.

For the Web Services guys among you I started by simplifying the syntax for
WSDL, you can read about that at:
http://www.capescience.com/articles/simplifiedWSDL/

Regards,

James.


Cape Clear Software Limited.
61 Fitzwilliam Lane
Dublin 2
Ireland

Email : james.pasley@capeclear.com
Switchboard  : + 353 (1) 2419900
Direct line  : + 353 (1) 2419957
Fax          : + 353 (1) 2419901
www          : www.capeclear.com

NEW CapeStudio 3, out now
Design, develop, integrate & deploy Web Services
http://www.capeclear.com/download


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]