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 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:include or xsl:import, David Carlisle | Thread | Re: [xsl] Named template to return , Joerg Heinicke |
RE: [xsl] xsl:include or xsl:import, bryan | Date | [xsl] Xalan memory limit?!, José León Serna |
Month |