Oops. I made a mistake when cutting and pasting the code. I'll try again:
if __name__ == '__main__':
try:
gDOM.newXMLfile()
app = cwApplication(0)
app.MainLoop()
except InvalidDataError, data:
print "The data '"+data.data+"' of element '"+data.tagName+"' contains disallowed characters or is of an invalid length."
That matches up with the trace-back in my previous post.
James Shaw
···
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com