xsl-list
[Top] [All Lists]

Re: [xsl] Fwd: xml/xslt line break

2008-07-21 03:23:51
yes, but that is because when I tried to use
<xsl:template match="failure">
      <p>FAILURE INFO:</p>
      <xsl:call-template name="substitute">
         <xsl:with-param name="string" select="." />
      </xsl:call-template>
</xsl:template>


the xml/xslt page couldn't load....
thanks a lot!

On Sun, Jul 20, 2008 at 4:24 PM, Martin Honnen 
<Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:
Taly wrote:

can you please explain me why it didn't work before?

Well if you want to use a named template then you need to call it with
xsl:call-template. The sample you posted did not use xsl:call-template, it
simply used xsl:value-of.


--

       Martin Honnen
       http://JavaScript.FAQTs.com/

--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--