Updated to add newly-required inputdir XSLT parameter.