;) Is self() an attribute or element?

Subject: ;) Is self() an attribute or element?
From: "Clark C. Evans" <clark.evans@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Oct 1999 15:16:05 -0400 (EDT)
   <xsl:if test="../@*=.">I am an attribute</xsl:if>


On Fri, 15 Oct 1999, Clark C. Evans wrote:
> I have a template that is called 
> to do default processing for a 
> particular node.  I'd like to 
> be able to tell if the node is 
> an attribute or element node.
> Any ideas?
> 
> Clark
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread