I've been googling for a while,but i could'nt find the right example.
I have local XML with with Node
And I have a form in my project:
Edit1 | Submit
I want the when user hits Submit childNode to be created in my XML file for categories. Like:
<categories>
<cat1>Name of Cat(Edit1.Text)</cat1>
</categories>
EDIT:
I have Project1.XML file in my .exe directory (/Win32/Debug/Project1.XML):
<Kategorijos>
</Kategorijos>
In my Form there is an input field (Edit1) and a button (Button1)
On button click program should load Project1.XML, find <Kategorijos>
and add childNode(<cat1>Edit1.Text</cat1>
) to it, so it would look like this if Edit1 input value would be equal to 'My first category.':
<Kategorijos>
<cat1>My first caregory</cat1>
</Kategorijos>
I use XE3.