Subject: RE: [xsl] xsl:template having both name and match From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx> Date: Thu, 3 Mar 2005 07:40:38 -0800 (PST) |
Thanks a lot Mr. Kay for your comments.. I agree with you.. and feel xsl:template having both name and match is a perfect syntax provided by XSLT .. It feels fine! Regards, Mukul --- Michael Kay <mike@xxxxxxxxxxxx> wrote: > > I want to know in which circumstances such a > template > > definition is useful.. Can somebody please provide > an > > example where this has real practical use..? > > > > I've very rarely used this capability myself. But in > general, if the > semantics of a construct are perfectly well-defined, > then it's a bad idea to > make it an error just because you can't see many > people using it. In > principle it's a good idea if the code in your > stylesheet is reusable, and > there's no intrinsic reason to prevent you writing > code that can be called > in more than one way. > > Michael Kay > http://www.saxonica.com/ __________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:template having both , Michael Kay | Thread | [xsl] Positional tests, Paul Clarke |
RE: [xsl] TOC Problem, Pawson, David | Date | Re: [xsl] a sorting conundrum, Kevin Rodgers |
Month |