[xsl] modifying elements value

Subject: [xsl] modifying elements value
From: "Ajit Sawant" <adsawant@xxxxxxxxxxx>
Date: Wed, 21 Jul 2004 17:51:58 +0100
Hello

I want to copy whole XML message as-is but want to modify only one
elements value to something else (in following example element <third>)

How can I do this using XSL

e.g.

<req>
	<first>123</first>
	<second>abc</second>
	<third>xyz</third>
	<forth>345</forth>
	<another_level>
		<element>12</element>
	<another_level>

</req>

to change to

<req>
	<first>123</first>
	<second>abc</second>
	<third>changed value</third>
	<forth>345</forth>
	<another_level>
		<element>12</element>
	<another_level>

</req>


Thanks Ajit

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger


Current Thread