Re: [xsl] Getting values from different templates

Subject: Re: [xsl] Getting values from different templates
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 10 Jan 2006 10:06:16 +0000
> I used the value-of to display the values instead of calling in different
> template. But i am getting only the value which i got in the last template.
>
> Is that possible values get over written if we use the same attribute for
> matching? actually my input file looks like this
>
> <content>statement1 |option1\ statement2</content>
> <content>statement1 |option2\ statement2</content>
> ...
>
>
> So i will retrieve statement1 from contents attribute in one template and
> doing some replacement of that contents. likewise doing for
> option1,statement2. while trying to display the 3 final values of the
> templates i am getting only the last template (statment2) value alone.

It's harder to debug words than code - please post the XSLT involved....

Current Thread