rennilmoksa
New Member
I'm calling a template which returns node set and i tried to store it on a variable but it returning only values not node names\[code\]<MaxData> <xsl:variable name="maxP"> <xsl:call-template name="MaxPeaks"/> </xsl:variable> </MaxData> <xsl:template name="MaxPeaks"> <DailyPeakDmds> <xsl:text>Test1</xsl:text> </DailyPeakDmds> <DailyPeakDmds> <xsl:text>Test2</xsl:text> </DailyPeakDmds> </xsl:template>\[/code\]Sending node set to c# code file:\[code\]<xsl:value-of select="code:GetMax($maxP)"/>\[/code\]But in c# method it giving result "Test1 Test2" but i need like:\[code\]<DailyPeakDmds> Test1</DailyPeakDmds><DailyPeakDmds> Test2</DailyPeakDmds>\[/code\]when i test the variable 'maxP' it contains "Test1 Test2" values, and it doesn't contain node names any one help me how to get node set and store it.