Subject: Re: [xsl] Matching two attribute values From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Thu, 19 Jun 2008 16:49:33 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Matching two attribute values, Pankaj Chaturvedi | Thread | RE: [xsl] Matching two attribute va, Pankaj Chaturvedi |
[xsl] Matching two attribute values, Pankaj Chaturvedi | Date | RE: [xsl] Matching two attribute va, Pankaj Chaturvedi |
Month |