Subject: RE: problem matching attribute
From: Ann Marie Rubin <Annmarie.Rubin@xxxxxxx>
Date: Tue, 16 Nov 2004 10:02:58 -0500
|
Hi Evan,
I've tried all these combinations, but still don't get "foo" in the output. (Yes, I do have the basic identity code at the top of the stylesheet.)
Any idea what could be wrong?
thanks,
Ann Marie
<!--<xsl:template match="read-access/namespace-resource/security-role-mapping[attribute::NAME='consoleadmins']/user[attribute::NAME='guestadmin']">-->
<!--<xsl:template match="read-access/namespace-resource/security-role-mapping/user/@name">-->
<xsl:template match="security-role-mapping[@name='consoleadmins']/user/@name[.='guestadmin']">
<!-- <xsl:attribute name="name">foo</xsl:attribute> -->
<xsl:copy>
<xsl:attribute name= "{@name}">foo</xsl:attribute>
</xsl:copy>
RE: problem matching attribute</xsl:template>
|