Re: Element tree errors

2007-05-14 Thread John Machin
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

Element tree errors

2007-05-14 Thread saif . shakeel
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