Python batch update xml file content

Inaendelea Ilichapishwa Miaka 4 iliyopita Kulipwa wakati wa kujifungua
Inaendelea Kulipwa wakati wa kujifungua

Fix the python script provide with following intended function:

1) read though all files in a directory - in my case it is : '/home/jay/images/try' - but it can be anything

2) change the following:

a) update folder name between <folder> ... </folder>

b) update file name between <filename> ...</filename>

c) update file path between <path> ...</path>

I include my python file that is not working now and the xml file. The OUTPUT will be correct python file that updates correctly the xml file folder name, file name and path

Python

Kitambulisho cha Mradi: #22250655

Kuhusu mradi

3 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

3 wafanyakazi huru wanazabuni wastani wa $57 kwa kazi hii

VnNorthStar

Hi I’m ready for the project I’m an expert in Python development I checked your files and I am sure I can do it perfectly Please give me a chance to work for you

$30 USD kwa siku 5
(Maoni 9)
3.4
jinfromrealestat

I can correct your file and send you updated one I live in New York so call me in Est time zone 9 am to 8 pm

$30 USD kwa siku 1
(Maoni 0)
0.0