An SWML parser