Quick and Dirty XSLT Guide?
I have some good experience with classic ASP and PHP, interacting with databases to display content on a website, etc. At work here we have a content management tool that is based mostly in XML using XSLT to define the layout. We are in the process of migrating from this tool, but I have to support it in the meantime, and the guy who wrote it is not available to hold my hand or do it himself.
Some of the stuff you describe is pretty tricky to do in XSLT. To do some of the trickier things like string and date formatting, I would recommend looking into the XSLT Standard Library: http://xsltsl.sourceforge.net/
You want the O'Reilly XSLT book by Doug Tidwell.
The reference here: http://www.zvon.org/o_html/group_xsl.html is really good. I would guess that the tutorials will be too, but I haven't tried them. It sounds to me like the stuff that you want to do shouldn't be too hard as long as you can avoid thinking procedurally. XSLT is declarative and works much better if you treat it almost like a functional language. Like Oren said there isn't a lot of string manipulation in the standard, but if you're coding for one specific engine and don't care about portability there's typically a lot more that you can use.
Check out Jeni Tennison's work.
I learnt a lot of good stuff from
Aussie Poster #7
Thanks for the replies, all. I will check those out.
Fog Creek Home