I want to use an input parameter in a for-each statement, but when I try this saxon reports that "The value is not a node-set".  How can I convert the input parameter to a node-set or even have it come in as a node-set? 

My command line reads:   saxon doc.xml doc.xsl type="value" match="value"

My stylesheet reads:            <xsl:param name="type"/>
                                <xsl:param name="match"/>
                                <xsl:for-each select="$type">
                                        code
                                </xsl:for-each>

Thanks,
Chris Pisani
*****************************************************************           DISCLAIMER:   The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee.  Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized.  If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.