xp4Tuple,
xp6Tuple,
xpElem,
+ xpInt,
xpList,
xpPrim,
xpText,
xpElem "listing" $
xpWrap (from_tuple, to_tuple) $
xp4Tuple (xpElem "team" xpText)
- (xpElem "teamno" xpPrim)
+ (xpElem "teamno" xpInt)
(xpElem "injuries" xpText)
(xpElem "updated" xpPrim)
where
pickle_message =
xpElem "message" $
xpWrap (from_tuple, to_tuple) $
- xp6Tuple (xpElem "XML_File_ID" xpPrim)
+ xp6Tuple (xpElem "XML_File_ID" xpInt)
(xpElem "heading" xpText)
(xpElem "category" xpText)
(xpElem "sport" xpText)