OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Deprecating XSLT templates

[ Lists Home | Date Index | Thread Index ]
  • From: Mike Brown <mbrown@corp.webb.net>
  • To: 'John Prout' <jprout@onepage.com>
  • Date: Thu, 05 Oct 2000 15:43:41 -0600

Title: RE: Deprecating XSLT templates
If you don't want it to be used ever, you could comment it out. You could assign it a lower priority (using the priority attribute on xsl:template) than a competing template that would otherwise match the same nodes at the same priority. You could pass in an external parameter to the stylesheet and have the template do nothing, or something else, if that parameter is set to a particular value.
 
xsl-list would probably be a better forum for this discussion.
 
-----Original Message-----
From: John Prout [mailto:jprout@onepage.com]
Sent: Thursday, October 05, 2000 3:34 PM
To: xml-dev@lists.xml.org
Subject: RE: Deprecating XSLT templates

Is the question how can we deprecate an individual template in an XSLT document - i.e. mark that a template should no-longer be used, - that it's been replaced by something else... I can see some use for this in the evolution of a transform
-----Original Message-----
From: Jonathan.Robie@SoftwareAG-USA.com [mailto:Jonathan.Robie@SoftwareAG-USA.com]
Sent: Thursday, October 05, 2000 2:02 PM
To: timm@channelpoint.com; xml-dev@lists.xml.org
Subject: RE: Deprecating XSLT templates

Now I'm *really* confused.

Deprecating templates in XSLT would be more like deprecating functions in Java altogether - templates are very much at the core of the language. Why would you want to do that? What would you replace it with? Would it still be XSLT in any meaningful way if you did this?

Jonathan

-----Original Message-----
From: Tim McCune
To: xml-dev@lists.xml.org
Sent: 10/5/00 2:49 PM
Subject: RE: Deprecating XSLT templates

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The same way you would deprecate a method in Java.  Sorry, I didn't
consider the non-programmers here.

- -----Original Message-----
From: Peter S. Housel [mailto:housel@home.com]
Sent: Thursday, October 05, 2000 12:12 PM
To: xml-dev@lists.xml.org
Subject: Re: Deprecating XSLT templates


Tim McCune <timm@channelpoint.com> wrote:
> The subject line sort of says it all.  Has anyone given any thought
> to this?  The only thing we've come up with so far is sticking some
> <xsl:message>s in them.

I can't make heads or tails out of the subject line.  Do you want to
"express disapproval of", "play down", or "disparage" XSLT templates?
 Are
you trying to compute your income taxes, and need to "lower their
price or
estimated value"?

Cheers,
- -Peter S. Housel-   housel@acm.org   http://members.home.com/housel/


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOdzMfNUPOr8a7vy5EQJhzgCdG2eJyyQRH9yffqf3aIGfknFqKNsAoP+o
/HL2ssQceMPE9ZPdeUXxPNDb
=niWF
-----END PGP SIGNATURE-----





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS