<xsl:template match="my:form"> <xsl:if test="@name=$doc//form/@name"> .. merge doms.. </xsl:if> </xsl:template> Hope this helped.
Si Muchos Gracias! XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list