cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Ky" <newho...@yahoo.com>
Subject Text of current node
Date Thu, 30 Mar 2000 07:29:19 GMT
How do I use XSL to access the text of the
current node?

My XML book says I can do this:

<xsl:value-of />

But it doesn't seem to work.  Eg:

   <xsl:for-each select="menu-item">
    <td>
     <a>
      <xsl:attribute name="href">
       javascipt:
       fireEvent(
        '<xsl:value-of select="@widgetID"/>',
        'onclick'
        );
      </xsl:attribute>
      <xsl:value-of />
     </a>
    </td>
   </xsl:for-each>



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Mime
View raw message