[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:template having both name and match
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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|