Regarding the question of getting the input file name during XSLT processing, Dale Lancaster of AmCon Research sent me the following solution offlist which I thought I would share: <xsl:value-of select="saxon:systemId()" xmlns:saxon="http://icl.com/saxon"/> This works nicely as long as (a) you're using saxon and (b) saxon is being called from the command line (i.e. not wrapped in some other GUI or called via a Perl script etc). It may work with other XSL processors, neither of us has tested it. Michele C. -=--=--=--=--=--=--=--=--=--=--=--=--=--=- Michele R. Combs [log in to unmask] Manuscripts Processor Special Collections Research Center Syracuse University Library 222 Waverly Avenue Syracuse, NY 13244 (315) 443-2697 -=--=--=--=--=--=--=--=--=--=--=--=--=--=-