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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s