xsl-list
[Top] [All Lists]

Re: Template Problem!!

2005-02-13 04:31:36
Tempore 12:29:13, die 02/13/2005 AD, hinc in xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit Adam J Knight <adam(_at_)brightidea(_dot_)com(_dot_)au>:

<xsl:template match="/">
    <table class="{$css}">
      <xsl:apply-templates/>
    </table>
  </xsl:template>
 <xsl:template match="//tree_node">
     <xsl:value-of select="@value"/>
        
  </xsl:template>


write:

<xsl:template match="/">
     <table class="{$css}">
       <xsl:apply-templates select="//tree_node"/>
    </table>
   </xsl:template>

 <xsl:template match="tree_node">

      <xsl:value-of select="@value"/>

  </xsl:template>



regards,
--
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
Laudeo W3C et dona ferens

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>