+
+instance FromXml PlayerListing where
+ -- | The DB analogue of a 'PlayerListing' is... itself!
+ type Db PlayerListing = PlayerListing
+
+ -- | To convert between a 'PlayerListing' and a 'PlayerListing',
+ -- we do nothing.
+ from_xml = id
+
+-- | This lets us call 'insert_xml' on a 'PlayerListing' without
+-- having to explicitly convert it to its database analogue first.
+--
+instance XmlImport PlayerListing
+
+
+-- | XML incarnation of a \<Listing\> element. We don't store these;
+-- the data type is used only for parsing.
+--