For XSLT I'd look at O'Reilly's offering, There is also another really good one that the name of escapes me just now, I'm sure I'll remember eventually
It may well have been a free download one (I'll look on my backup system when I get home tonight). You obviously are feeling far too sane if you are starting down the XSLT route....
Javascript, sorry can't help you there...