Re: [xsl] Matching two attribute values

Subject: Re: [xsl] Matching two attribute values
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 19 Jun 2008 16:49:33 +0200
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[@affilref = current()/@id"/> <xsl:copy> </xsl:template>

--

	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread