Subject: Re: nested templates?
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Tue, 22 May 2001 10:07:56 -0400
|
[Kurt Cagle]
> I don't think that XSLT should be OO, but I argue in a book that I'm
writing
> that XSLT, in conjunction with Schema, XLink and RDF, works best when the
> whole is considered as an OO system. XSLT serves as a mechanism for
defining
> methods on XML objects defined by schemas, schemas can be used as
> constructors, inheritance is a natural consequence of the importing and
> including mechanisms that XSLT has, and the stateless nature of XSLT
> transformations makes concepts such as garbage collection pretty much
moot.
> The definition of encapsulation has to be stretched a bit, since you have
> the multiple distinct conditions that XSLT makes it possible to create
> methods that apply equally well to schemas that may have no particular
> elements in common, but that are relationally similar.
>
>
Hmm, xml-schemas prominently feature restriction, which isn't a part of
standard O-O technologies. References I made earlier to an O-O analogy were
only to the building block aspect; I wasn't claiming that xslt is/should be
thought of as object-oriented in general.
We don't, though, have standard terms to express generalizations of
"objects" and O-O approaches, so we tend to use the term in a loose way, or
even as a metaphor. Is that how you are using it, Kurt?
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: nested templates?, (continued)
- Kurt Cagle - Wed, 16 May 2001 18:36:51 -0400 (EDT)
- Alex Black - Wed, 16 May 2001 18:51:08 -0400 (EDT)
- Chris Bayes - Wed, 16 May 2001 19:01:29 -0400 (EDT)
- Uche Ogbuji - Wed, 16 May 2001 23:52:02 -0400 (EDT)
- Thomas B. Passin - Tue, 22 May 2001 10:06:46 -0400 (EDT) <=
- Wendell Piez - Wed, 16 May 2001 16:25:46 -0400 (EDT)
- Chris Bayes - Wed, 16 May 2001 16:58:26 -0400 (EDT)
- Mark Nahabedian - Wed, 16 May 2001 16:55:07 -0400 (EDT)
- David Carlisle - Thu, 17 May 2001 04:34:56 -0400 (EDT)
|
|