Hi All, I am having a bit a problem on this little loop, and I'm hoping someone can correct me: <xsl:for-each select="/ead/archdesc/dsc/c01[@id='ser2']//c02"> <xsl:variable name="file_name" select="@id"/> <xsl:variable name="nice_name" select="/ead/archdesc/dsc/c01[@id='ser2']/c02/did/unittitle/title"/> <xsl:element name="a"> <xsl:attribute name="href"> <xsl:value-of select="$file_name" /> </xsl:attribute> <xsl:value-of select="$nice_name" /> </xsl:element> </xsl:for-each> The problem being $nice_name is only displaying the First Title from the list of titles. $file_name is working fine. That is it'll pick up and display "AA Title", but it's not making it to or displaying "BA Title" [two examples of titles] The titles being here in my EAD: /ead/archdesc/dsc/c01[@id='ser2']/c02/did/unittitle/title I've tried this about a millions different ways, but can't get that second variable to appear. I'm not sure if that short snippet of code is enough to illustrate my point, if it's not please let me know. ------------------------------------------ Blake Carver Web Librarian The Ohio State University Libraries [log in to unmask] 247-7424