xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] text or call-template inside call-template


Subject: [xsl] text or call-template inside call-template
From: Daniel Bauke <bonkey@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Jun 2001 19:07:23 +0200

On Friday (Jun 15), Thomas B. Passin wrote:

>  <xsl:template match="ref">
>      <xsl:call-template name='doLink'>
>          <xsl:with-param name='theLink' select='@id'/>
>      </xsl:call-template>
>  </xsl:template>
oh, yes, it works great. i felt afraid, when i saw jeni's example,
even more, when i wasn't able to run it in my xalan just as it
was written ;-) -- yep, i'm a lamer :-). but references looks
promising. 

a question -- is there any chance to put text inside
call-template as it is possible with apply-templates?
or better, use call-template inside call-template?
e.g. 
<xsl:call-template name="a">
   <xsl:with-param name="var" select="@some_value"/>
   <xsl:call-template name="b">
      <xsl:with-param name="var" select="@some_value"/>
   </xsl:call-template>
</xsl:call-template>

and tell the truth -- why all of you are using such terrifing
language as xslt is? <grin/> don't templates and xml parsers in
java or even some tree-structured objects are much better,
faster, simpler and flexible? :-)

-- 
Daniel `bonkey' Bauke; http://www.oho.pl/~bonkey/; {happiness=bike&&unix;}

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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor