This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Name of an Attribute node.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]