XML handling for Hecl

We received an interesting contribution to Hecl recently: Martin Mainusch put together a Hecl interface to kxml, and also sent in some demo code that fetches and parses weather forecast information. I thought it was pretty cool:

Hecl Weather Forecast

Note that it’s not compiled into the default build, so you have to change a property from 0 to 1 and recompile, and…being new there might be some issues, but still, it’s nice to have that to let people play around with simple “web service” type things that use XML. Of course, another strategy might be to have a ‘proxy’ server that fetches the actual XML, and returns a tagged Hecl list so that Hecl can parse it directly, but that requires a server and has more overhead.

Leave a comment