xsl-list
[Top] [All Lists]

modifying elements value

2004-07-21 09:51:58
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



<Prev in Thread] Current Thread [Next in Thread>