need access to functions in doc/param.xsl