Is there a function to detect the document language? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list