This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Named template to return value..


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
Calleeee....
--------------------------------------------------------------------
<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>

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

<xsl:template/>
-----------------------

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

Thanx
Asif.




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]