Delphi Project: Manipulate XML Files, I Need Two Little Functions.
$30-100 USD
Completed
Posted over 12 years ago
$30-100 USD
Paid on delivery
Hello,
I need a Delphi expert that show me how to manipulate XML files. I need two little functions, they should run on Delphi 2010.
Function 1 details:
There are 11 text fields on the form, as follow:
1. Name
2. Description
3. SampleRate
4. Width
5. Height
6. AudioEncoder
7. VideoEncoder
8. Channels
9. FrameRate
10. AudioBitrate
11. VideoBitrate
There is a "Save" button on the form, when it is pressed, suppose the FormatInfo ID = "1005" (this ID is unique), the program would open two existing XML files "[login to view URL]" and "[login to view URL]", then update the element values of the corresponding tags on two XML files according to the 11 text strings entered by users, and save the files.
Please check the attached "[login to view URL]" and "[login to view URL]" files.
For [login to view URL], just update <Name> and <Description> tags.
For [login to view URL], it needs to update all 11 tags.
Function 2 details:
There is a "Restore" button on the same form, when it is pressed, suppose the FormatInfo ID = "1005", the program would read the element values of the same 11 tags from an existing XML file named "[login to view URL]", then update the values back to the corresponding text fields on the form, then close the XML file.
Please check the attached "[login to view URL]" file.
Thanks.
Raymond