xsl-list
[Top] [All Lists]

RE: print out the actual node (NEWBIE)

2002-09-16 02:34:10


-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Im having problems with my template and I think somehow its related to
the node. Is there a way to print out the actual node I'm in?

<a>
  <b/>
  <c>
  <xsl:value-of select="name()"/>
  </c>
  <d/>
</a>


the name() function prints out the name of the element....if you want the
content you would do
<xsl:value-of select="."/>... but I left my mind reading email client at
home....need to see your xml and xslt to usefully comment.

cheers, jim fuller


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