XML etree not found

Does anyone know why the XML etree module in the standard library would not be found when trying to import? At some point last night in my code of importing the etree module, it started throwing an error.

Can anyone speak to this? Any suggestions?

I never use it. A lot of people report problems. I recommend java's native XML.

See this older topic:

And this more recent discussion:

If I print out the value from dom = shared.xml.strToDoc(oxml) should it return [#document: null] or should it print out the actual XML that I passed in?

Update: I have looked into your script more and found the correct functions to call on the returned object from your script. I have figured this out and this is working great. Thank you for your help.

1 Like