This is really a question for an XSL list.

But I'll be nice and tell you:

<xsl:value-of select="name()" /> will insert the name of the current node into the output.

Kind regards,
Oleg

Zamek wrote:

Hello all,

I am new in cocoon (and xml too), and I cannot found any snippets to get any element name. For example

<xsl:template match="/|*">
  this element name is: ?????????
  <xsl:apply-templates/>
<xsl:template>





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to