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

Re: is it just me?

Subject: Re: is it just me?
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Sat, 27 Feb 1999 17:37:56 +0800
use just me
>i must admit that a few months ago (without
>actually trying xsl), i thought it was a natural requirement
>to say that xsl has to be in xml syntax. but now that i've
>typed something of this form:
[...]
>i'm having second thoughts.


But once you need to *generate* a stylesheet on the basis of some XML
document, you'll be glad that XSL is in XML.

Another bonus, although I haven't tried it, is you could actually have an
XSL stylesheet for displaying XSL stylesheets.

Being in XML also means you can use an XML editor (which will greatly reduce
the pain you've been experiencing). Mind you, *I* don't use one, but largely
because I'm telneting to a Unix box to edit most of the XSL.

>the whole time i'm reading the spec, i'm thinking things like
>"xsl:constant, ok, a constant.... xsl:macro, ok, a macro...
>xsl:for-each, got it....". and whenever i read xsl code, i
>have to mentally map it to mental pseudo-code that is a fraction
>of the size.


You don't have to use xsl as the namespace prefix. You could make
http://www.w3.org/TR/WD-xsl the default namespace and the result
namespace(s) the one(s) with a prefix. Then you can just type constant and
macro instead of xsl:constant and xsl:macro.

Actually the biggest problem I have (I've been doing a lot of XSL lately for
my sites) is I keep typing tempalte instead of template :-)

James
--
James Tauber / jtauber@xxxxxxxxxxx / www.jtauber.com
Associate Researcher, Electronic Commerce Network
Curtin University of Technology, Perth, Western Australia

Full-day XML Tutorial @ WWW8 : http://www8.org/

Maintainer of : www.xmlinfo.com,  www.xmlsoftware.com and www.schema.net



 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.