tags:

views:

95

answers:

5

What should I call my file containing XSL code (XSLT code??),

which one sounds more sensible/meaningful.

I know the abbreviation of both of them. But don't know which one to use and where ..

edit 1:

I just now came across these words in w3schools.com

It started with XSL and ended up with XSLT, XPath, and XSL-FO.

and also saw written "XSL Source code", So what about .. Alejandro's comments .. ?

now my question reduces to yet more simple version..

can we call XSLT code as XSL code too?? or is it deprecated??

A: 

Really, does it matter? I'm all for correct terminology, because it usually matters in IT, but in this case you really won't confuse anyone whichever one you use.

Evgeny
@Evgeny, thanks for the response, I have to communicate heavily to my clients, they may or may not be having knowledge on this, I chose to use proper terminology than going blind, Regards :)
infant programmer
+1  A: 

There is no appreciable difference. I use them interchangeably, and so do most people.

Oded
@Oded, Thanks :)
infant programmer
+2  A: 

To be nitpicker, I believe XSL is the language and XSLT is a transformation (a piece of code that is written in XSL to transform one XML to another).

So when you're talking of particular pieces of code I think XSLT is more appropriate (just XSLT not XSLT codes), like apha XSLT or so. But when you are talking about language, it should be XSL e.g. XSL skills, XSL code.

mho
much satisfying :) thanks :)
infant programmer
@mho: this is wrong. Extensible Stylesheet Language Family (XSL) [http://www.w3.org/Style/XSL/] has three parts: XSLT ("a language for transforming"), XSL-FO ("an XML vocabulary for specifying formatting semantics") and a XML core expression language XPath.
Alejandro
@Alegandro, thanks for the comments, notable ones, would like to see the discussion and come to conclusion. thanks regards.
infant programmer
@Alejandro. Right, noted. Given that, the transformations that we write are XSLT more specifically. Although, people often use word XSL to represent them.Is it a fair conclusion?
mho
@mho: I think that you could use the word XSL, but if you are reference a particular transformation and not the language family this could make some confused. Think about XSL like an abstraction, maybe.
Alejandro
+2  A: 

This is not only a matter of opinion: just look and see how many questions are in the xslt tag (2299) and how many are in xsl (753) -- the result is clear, isn't it? :)

Related to this I have recently proposed that the xsl tag be considered a synonim for the xslt tag. You can vote this proposal *here*.

Dimitre Novatchev
so what is the conclusion? please include it, Alejandro's comments are notable too. regards.
infant programmer
rather I am confused after reading Alejandro's comments. I need some clarification. :)
infant programmer
How do I vote for the proposal? Or has it been accepted meanwhile?
0xA3
@0xA3, Goto that page, end of the statements. you can see xsl and xslt-2 having couple of uv and dv corresponding to each of them. once you vote them they disappear.
infant programmer
@infant programmer: Sorry, I don't see any of that.
0xA3
@0xA3, bad luck then :|
infant programmer
@0xA3: When there was voting allowed, there were two candidate-synonims on this page: xsl and xslt-2.0. Now I see only xsl -- this is probably why there is no voting anymore -- seems xsl has won over xslt-2.0. Don't ask me whether all this has any meaning -- obviously they are still experimenting.
Dimitre Novatchev
Thanks a lot for the clarification :-)
0xA3
+1  A: 

From http://www.w3.org/TR/xslt#section-Introduction

A transformation expressed in XSLT is called a stylesheet

From http://www.w3.org/TR/xslt20/#what-is-xslt

[Definition: A transformation in the XSLT language is expressed in the form of a stylesheet, whose syntax is well-formed XML [XML 1.0] conforming to the Namespaces in XML Recommendation [Namespaces in XML 1.0].]

Leaving aside the formality of the specification, you can call it what you will. With respect to the components of the stylesheet (or transformation): for XSLT 1.0 they are instructions and its contents are templates, for XSLT 2.0 they are declarations and instructions and its contents are sequence constructors

Alejandro
thanks for nice answering :) and helping with great info :)
infant programmer
@infant programmer: You are wellcome! Ask any time.
Alejandro