Pankaj Chaturvedi wrote:
I am trying to match values of id of <author> and affilref of <contactinfo>
and do the transformation as the out shown above.
<xsl:template match="author">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
<xsl:copy-of select="../contactinfo[(_at_)affilref = current()/@id"/>
<xsl:copy>
</xsl:template>
--
Martin Honnen
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
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>
--~--