XMLPopular data formats
XML is a popular markup language used in a wide variety of ways. It looks like this:
<note> <to>Haskell Community</to> <from>Beginners</from> <heading>Docs</heading> <body>:(</body> </note>
If performance is even relatively important use xmlhtml because it uses
Text instead of
String. If you want a simple, light weight library and performance doesn't matter then you will be fine using xml. If you need position information or XML features not offered by xmlhtml, xml-conduit.
Streaming parsing, but has a useful non-streaming interface as well. Uses
Can parse entity references, including entities defined in the internal subset, as well as leaving entity references unresolved in the document for your code to handle itself.
The streaming interface provides position information.