Yeah, I know general XPath, assuming it's the same sort of thing. It was the one good experience from a near-death brush with XSLT (two weeks of my life wasted ;-). This all sounds wonderful though, I'll try to spend some quality time with B et. al. over the next few weeks. However I'm not sure if I can or should try to incorporate any of that into the book, it might be drifting off-topic.
Bill H
perl -e 'print sub { "Hello @{[shift]}!\n" }->("World")'