This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Name of an Attribute node.
- To: xsl-list at mulberrytech dot com
- Subject: Name of an Attribute node.
- From: menkell at us dot ibm dot com
- Date: Tue, 11 Apr 2000 11:10:00 -0500
- Reply-To: xsl-list at mulberrytech dot com
I am using the msxsl3 XSLT and I am having a problem getting the name of
the attribute node. This works if I use the old name space for the msxsl
but not the new. Does anyone know what's going on?
<xsl:for-each select="@*">
<xsl:choose>
<xsl:when test=".[nodeName()='style' ||
nodeName()='onload']"/>
<xsl:when test=".[nodeName()='onresize' ||
nodeName()='oncontextmenu']"/>
<xsl:otherwise>
<xsl:apply-templates select="."/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
Laura L. Menke
IBMUSM07(menkell)
Phone 507-253-8901 Tie 5535907
menkell@us.ibm.com
When facing a difficult task, act as though it is impossible to fail. If
you're going after Moby Dick, take along the
tartar sauce.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list