@
@do
Hi!
My XML File is something like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<item_list>
<item_list_elements>
<code>01600</code>
<name>John</name>
<text>some text ABC</text>
</item_list_elements>
<item_list_elements>
<code>01600</code>
<name>Smith</name>
<text>another text</text>
</item_list_elements>
...
</item_list>
I need to change <code> values in this file using XSL and produce same
XML structure as output.
Conditions are: if <text> contains "ABS" and <code> = 01600 then code
= "02600"
Output scould be:
<?xml version="1.0" encoding="ISO-8859-1"?>
<item_list>
<item_list_elements>
<code>02600</code>
<name>John</name>
<text>some text ABC</text>
</item_list_elements>
<item_list_elements>
<code>01600</code>
<name>Smith</name>
<text>another text</text>
</item_list_elements>
...
</item_list>
Thanks for all help.
Ado
My XML File is something like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<item_list>
<item_list_elements>
<code>01600</code>
<name>John</name>
<text>some text ABC</text>
</item_list_elements>
<item_list_elements>
<code>01600</code>
<name>Smith</name>
<text>another text</text>
</item_list_elements>
...
</item_list>
I need to change <code> values in this file using XSL and produce same
XML structure as output.
Conditions are: if <text> contains "ABS" and <code> = 01600 then code
= "02600"
Output scould be:
<?xml version="1.0" encoding="ISO-8859-1"?>
<item_list>
<item_list_elements>
<code>02600</code>
<name>John</name>
<text>some text ABC</text>
</item_list_elements>
<item_list_elements>
<code>01600</code>
<name>Smith</name>
<text>another text</text>
</item_list_elements>
...
</item_list>
Thanks for all help.
Ado