<xsl:if test="(.)=(../../@targetNamespage)">
^^^^^
but you don't need to loop through like that, just select the one you
want
<xsl:variable name="ns-prefix"
select="name(namespace::node()[.=/*/@targetNamespace])"/>
David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--