[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Named template to return value..

Subject: Named template to return value..
From: "S. Asif Imam" <asifimam@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 May 2002 15:26:57 +0500
asif imam
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.