On May 14, 7:56 pm, [EMAIL PROTECTED] wrote:
> HI,
>The following code is for replacing the strings localid with
> "datapackageid" in an xml document.:
>
> from xml.etree.ElementTree import ElementTree as et
Note there are *two* occurrences of ElementTree in what you have
above. The first
HI,
The following code is for replacing the strings localid with
"datapackageid" in an xml document.:
from xml.etree.ElementTree import ElementTree as et
file_input = raw_input("Enter The ODX File Path:")
(shortname,ext)=os.path.splitext(file_input)
test_file=shortname+"testxml.xml"
input