Re: [xsl] Naming conventions for xsl/xslt stylesheets

Subject: Re: [xsl] Naming conventions for xsl/xslt stylesheets
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Tue, 30 Jan 2007 17:19:12 +0100
Ben Stover wrote:
Do XSL stylesheets ALWAYS have to be in a file with filen name extension *.xsl ?

No, they don't even have to be in a file at all. A repository, a database, some web site, dynamic creation, in memory, as dom. You have plenty of options.


What about XSLT docs in *.xslt or even in *.xml files?

Mine are mostly in *.xslt files and in a repository (nameless), and *.fo for xsl-fo. However, it's all up to you whether you choose 'xxx' or 'yyy' or 'santaclaus' as extension (or none at all).


Is there a must on how to name XSLT stylesheets or only a recommendation ?

From what I know: none whatsoever.


Are there differences in handling between XSLT 1.x and 2.0 versions ?

Huge differences, depending on what you mean by "handling". XSLT 2 contains many new features and functions and makes a lot possible that previously was impossible (or very hard) in XSLT 1.



-- Abel


Current Thread