docs and fix lib.xsl, agencies validate