Subject: Re: [xsl] The identity transform and attributes From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 21 Jan 2008 14:35:43 -0500 |
On 21/01/2008, Jesper Tverskov <jesper@xxxxxxxxxxx> wrote: > The old way even has the power and fascination of being just one > template, the identity template. This is how the identity template > looks in two specs, in hundreds of books, in thousands of articles and > tutorials, and in millions of XSLT stylesheets until this very day. > > Why change things for the worse just to confuse people?
Well the standard identity template is completely non-intuitive in itself... so I think most new XSLT'ers are confused enough by it. I remember in the early days cutting and pasting it the first few times I needed it just because it seemed so strange and hard to reproduce by hand. Having something within xsl:copy was the hardest thing to comprehend, iirc.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] The identity transform an, Colin Adams | Thread | [xsl] unparsed-text and analyze-str, Terry Ofner |
Re: [xsl] The identity transform an, Andrew Welch | Date | Re: [xsl] The identity transform an, Wendell Piez |
Month |