Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Useflags: xsl vs xslt
Date: Thu, 25 Apr 2013 15:12:14
Message-Id: 20130425151205.25908.qmail@stuge.se
In Reply to: [gentoo-dev] Useflags: xsl vs xslt by "René Neumann"
1 René Neumann wrote:
2 > * Is there a real difference between them? As far as I can see XSL
3 > is a superset of XSLT, but it's somewhat fuzzy.
4
5 XSL is the Extensible Stylesheet Language, one way to think of this
6 is as the file format. XSL is a subset of XML.
7
8 XSLT means XSL Transform, which is the process of applying XSL onto
9 an input XML document, and if input document fits the XSL then the
10 transform usually results in some kind of useful output. The XSL
11 document specifies the transform output format and uses data and
12 structure from the input document.
13
14 XSL could be said to somehow imply XSLT, because that is the common
15 case, but I can easily imagine a case where distinction would be
16 appropriate; an XML editor application might have an optional
17 feature allowing users to work in particular with XSL documents,
18 although the editor is not in fact able to perform a transform.
19 An xslt USE-flag would be a poor fit.
20
21
22 > * Should 'xsl' remain a global useflag?
23 > * Should php remain 'xsl' or go to 'xslt'?
24
25 When transform is supported I think xslt makes sense.
26
27
28 > * When building a new package with optional XSLT-support: Should I
29 > use 'xsl' or 'xslt'.
30
31 If it can indeed do transform, I would say to use xslt.
32
33
34 Diego Elio Pettenò wrote:
35 > The correct one should be xslt and that's it..
36
37 Can you please motivate your opinion? Saying "that's it" is quite hostile.
38
39
40 //Peter

Replies

Subject Author
[gentoo-dev] Re: Useflags: xsl vs xslt Ryan Hill <dirtyepic@g.o>