Code: Select all
Gui, Add, Edit, x22 y30 w130 h30 , APPLE
Gui, Add, Edit, x162 y30 w120 h30 , PEAR
Gui, Add, Button, x312 y30 w100 h30 , Button
Gui, Show, w439 h294, Untitled GUI
return
GuiClose:
ExitApp
return
I want to do;
When we click on the button,
In the first paragraph, you will find the words "Apple" in the XML file "Apple"
I will replace it with the word "Pear" in the 2nd paragraph.
and I want you to give a warning with a message.
2 pieces of "apple" WRITTEN AND CHANGED "
I want you to give your warning.
Can it be provided with code? Thank you.
xml content
Code: Select all
<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="http://www.tnb.org.tr/XSL/ReportBelgeIkiliTasarim.xsl"?>
<ArrayOfBelgeOnay>
<BelgeOnay>
<Species >APPLE</Species>
<Sherry >A</Sherry>
<Quantity >50</Quantity>
<Unvan>RAMAZAN TAHMAZ </Unvan>
<Name>APPLE</Name>
</BelgeOnay>
</ArrayOfBelgeOnay>