Re: [xsl] Qualified variable names

Subject: Re: [xsl] Qualified variable names
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Mon, 10 Nov 2008 12:07:05 +0000
>> I've often thought Final and Abstract type modifiers would be
>> useful, maybe now would be a good time to submit a proposal for
>> 2.1.
>
>> We can already simulate Abstract, but an explicit attribute could
>> be preferable to throwing an error in a named template, or a
>> missing select on a required parameter (or a typed variable etc).
>
>  I am not sure to see exactly what you mean by Final and Abstract.
> Could you please explain it a bit further, or show a sample of use
> of what you have in mind?

The link from Mike explains it (and a lot more!):

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5312.

In summary: Final = cannot be overridden, Abstract = must be overridden.

I like pretty much all of what is proposed there...



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread