[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Deprecating XSLT templates

  • From: Mike Brown <mbrown@c...>
  • To: 'John Prout' <jprout@o...>
  • Date: Thu, 05 Oct 2000 15:43:41 -0600

xsl deprecate
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@o...]
Sent: Thursday, October 05, 2000 3:34 PM
To: xml-dev@l...
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@S... [mailto:Jonathan.Robie@S...]
Sent: Thursday, October 05, 2000 2:02 PM
To: timm@c...; xml-dev@l...
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@l...
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@h...]
Sent: Thursday, October 05, 2000 12:12 PM
To: xml-dev@l...
Subject: Re: Deprecating XSLT templates


Tim McCune <timm@c...> 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@a...   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-----


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.