You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joshua Spoerri <jo...@Basit.COM> on 2000/08/07 16:46:27 UTC

nodeName()

is nodeName() supported in cocoon xsl?
is there anything wrong with the following?

 <tr>
  <xsl:for-each select="result[0]/*">
   <th>
    <xsl:value-of select="nodeName()"/>
   </th>
  </xsl:for-each>
 </tr>

thanks, josh

Re: nodeName()

Posted by Jeremy Quinn <je...@media.demon.co.uk>.
At 10:46 -0400 07/08/00, Joshua Spoerri wrote:
>is nodeName() supported in cocoon xsl?
>is there anything wrong with the following?
>
> <tr>
>  <xsl:for-each select="result[0]/*">
>   <th>
>    <xsl:value-of select="nodeName()"/>
>   </th>
>  </xsl:for-each>
> </tr>
>
>thanks, josh

<xsl:value-of select="name(.)"/>

I think

Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <ma...@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pa...@sms.genie.co.uk>