Let's say I'm reading an XML file using httputils. The containers are <name> and <logo>.
As I'm parsing the XML, I want to download the image referenced in <logo>, and then insert both <name> and the downloaded image into a table defined as (Name TEXT, Logo BLOB).
I tried an httputils call for the logo in the parser_endelement sub, but that just messed everything up.
I assume this sort of thing is possible, I'm just clearly going about it all wrong. Can anyone point me in the right direction?