Hello,
I didn't found a way to contact you (the author) directly, your snippets are good, and might be distributed directly with XPTemplate, if you agree, please send a message on the mailing list ( http://groups.google.com/group/xptemplate )
Vincent B.