Added "HTML Living Standard" bibliographic reference.
Improved ua:attach-template().