Subject: RE: [xsl] 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: [xsl] problem matching attribute</xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] problem matching attribut, Evan Lenz | Thread | Re: [xsl] problem matching attribut, David Carlisle |
RE: [xsl] Generating XSLT from XSD, Nick Roberts | Date | Re: [xsl] problem matching attribut, David Carlisle |
Month |