[xsl] Named template to return value..

Subject: [xsl] Named template to return value..
From: "S. Asif Imam" <asifimam@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 May 2002 15:26:57 +0500
Hi Friends..

Just want an example where a named template do some calculations and returns
a value /node whatever is right.
and a callee template uses this ..

Some thing to achieve
<xsl:temmplate  name = "GiveNumberedData">
<xsl:param name ="data"/>
<xsl:param name ="index/>

<xsl variable name = "NumberData" Some thing here to call template and get
the value using  data and index???>
 Some processing here..with

<xsl:template name ="GiveData">
<xsl:param name ="data"/>
<xsl:param name ="index/>
<Some processing here >
<Returning Some value ..>


Any sample that is working like this will work :).


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

Current Thread