xmlbf

XML back and forth! Parser, renderer, ToXml, FromXml, fixpoints.

https://gitlab.com/k0001/xmlbf

Version on this page:0.4.1
LTS Haskell 22.14:0.7
Stackage Nightly 2024-03-28:0.7
Latest on Hackage:0.7

See all snapshots xmlbf appears in

Apache-2.0 licensed by Renzo Carbonara
Maintained by renĀ§ren*zone
This version can be pinned in stack with:xmlbf-0.4.1@sha256:c0a7e38f611e4090e05debe22fee75e68aa97d59178b3098de3ca7751bf66709,1032

Module documentation for 0.4.1

  • Xmlbf

xmlbf

XML back and forth!

xmlbf provides FromXML and ToXML instances intended to be used as the familiar FromJSON and ToJSON from the aeson package.

Build by running nix-build in the top-level directory. Alternatively, running nix-shell in the top-level directory puts you in a shell where all of the dependencies of this project are available. There you can use cabal and/or ./Setup.hs as usual.

Changes

0.4.1

  • Generalized type of pRead.

0.4

  • BREAKING CHANGE. pElement now skips leading whitespace before an element.

  • Fixed nested element parsing (#6)

0.3

  • BREAKING CHANGE. Renamed df and dfM to dfpos and dfposM respectively.

  • Added dfpre and dfpreM.

  • Improved Show instance for Node.

  • Added element'.

0.2

  • Text constructor hidden in favor of a text function plus a Text pattern synonym, just like with element and Element.

  • Documentation: Render Element pattern synonym.

0.1

  • First version.