[a bit more about migration Malcolm.Wallace@cs.york.ac.uk**20061106144248] { hunk ./docs/index.html 33 + +Notes for migrating code from the 1.13 version of +HaXml to the development version. hunk ./docs/migrate.html 37 +See this page for details. + +If you are playing with the class methods themselves, then the +translation from old-style to new-style is more-or-less like this: +
+    class XmlContent a where	-- old
+      fromElem :: [Content] -> (Maybe a, [Content])
+      toElem :: a -> [Content]
+
+becomes +
+    class XMLContent a where	--new
+      parseContents :: XMLParser a
+      toContents    :: a -> [Content ()]
+
}