Re: [xsl] XSLT Patterns. was: Can this hard-coded template be generalized?

Subject: Re: [xsl] XSLT Patterns. was: Can this hard-coded template be generalized?
From: "Mark" <mark@xxxxxxxxxxxx>
Date: Sun, 2 Oct 2011 15:54:44 -0700
Hi Tony,
Probably we should change the subject line.

I have Jeni Tennison's Beginning XSLT 2.0, but found Michael's 2.0 book easier to move around in. I also have the 2nd ed. of the Cookbook but see it more as a chance to peek at someone else's code than as a pattern study. However, I have incorporated several of his generalizations into my own code and found them really useful. It is definitely worth the read.

C++ has some excellent patterns books. They help you to have a solution outline in your head when you are lost in the rough. I was trying to find the same sort of thing for XSLT.

Thanks for your info.
Mark

-----Original Message----- From: Tony Graham
Sent: Sunday, October 02, 2011 3:13 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Can this hard-coded template be generalized?


On Sun, October 2, 2011 10:47 pm, Mark wrote:
...
I have, however, simplified a lot of code after we talked last week, but
there are still many C++ fingerprints smeared on it. At 72, it is just a
bit
harder to change one's tricks. ThatC"b,b"s why yesterday I asked the list for
sources of XSLT design patterns. No sources, but got a misdirected
affectionate note in French, though.

The best XSLT design patterns book that I've read was Jeni Tennison's "XSLT and XPath On The Edge", but that was written for XSLT 1.0 and XPath 1.0.

I haven't read "XSLT Cookbook, 2nd Edition" by Sal Mangano, but it covers
XSLT 2.0 and gets good reviews on Amazon, at least.  There's probably more
than a few on this list who could give you an opinion either way.

There's also Dave Pawson's XSL FAQ at http://dpawson.co.uk/xsl/index.html

Regards,


Tony Graham tgraham@xxxxxxxxxx Consultant http://www.mentea.net Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- XML, XSL FO and XSLT consulting, training and programming

Current Thread