Parser for sxd files