xsl-list
[Top] [All Lists]

Re: Converting TabLibs into XSLT

2004-01-06 11:07:31
Alessandro,

At 12:34 PM 1/6/2004, you wrote:
I cannot find a way to do:

        <xsl:call-template name="myframe">
            <xsl:with-param name="title">Test</xsl:with-param>
            <table>
                <tr>
                    <td>blah.....</td>
                </tr>
            </table>
        </xsl:call-template>

to populate the "<!-- content -->" part.

<xsl:call-template name="myframe">
  <xsl:with-param name="title">Test</xsl:with-param>
  <xsl:with-param name="contents">
   <table>
      <tr>
        <td>blah.....</td>
      </tr>
   </table>
  </xsl:with-param>
</xsl:call-template>

...and then in the named template, <xsl:copy-of select="$contents"/>....

It works fine.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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



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