<root>
<row type="header">
<column>href</column>
<column>other</column>
</row>
<row type="data">
<column>a</column>
<column>b</column>
</row>
</root>
XSLT:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<xsl:for-each select="row">
<xsl:if test="">
<xsl:value-of select="column"/>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
I want to know the position of column which contains "a" in it based on condition row type="data" only