xml-prettify alternatives and similar packages
Based on the "XML" category.
Alternatively, view xml-prettify alternatives based on common mentions on social networks and blogs.
-
tagsoup
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents -
aws-sdk-xml-unordered
The xml parser for aws-sdk package -
tagsoup-megaparsec
A Tag token parser and Tag specific parsing combinators -
hexpat
A general purpose Haskell XML library using Expat to do its parsing -
xsd
Fork of the discontinued xsd haskell package (http://hackage.haskell.org/package/xsd) -
xml-tydom-conduit
Typed XML Encoding / Decoding in Haskell -
xml-conduit-decode
Support for historical cursors & decoding on top of xml-conduit. Created in the sprit of scalaz-xml. -
tinyXml
A fast approximate XML parser inspired by github.com/ndmitchell/hexml
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of xml-prettify or a related project?
Popular Comparisons
README
xml-prettify
A pretty printer / indentation tool for generic XML.
Installation
There are no prerequisites other than GHC (>=6.10).
Using cabal-install
$ cabal install xml-prettify
From source archive
$ tar xzvf xml-prettify-0.0.1.tar.gz
$ cd xml-prettify-0.0.1
$ ghc --make Setup.hs
$ ./Setup configure
$ ./Setup build
$ ./Setup install
Usage
$ cat ugly.xml
<Configuration><UPnP><UDN><MediaRenderer>6c36e3a3-xxxx=4e1c-ac5f-506e515f0491</MediaRenderer></UDN><MythFronten><DefaultBackend><DBHostName>localhost</DBHostName><DBUserName>mythtv</DBUserName><DBPassword>xxxxxxx</DBPassword><DBName>mythconverg</DBName><DBPort>0</DBPort></DefaultBackend></MythFrontend></UPnP></Configuration>
$ xml-prettify ugly.xml
<Configuration>
<UPnP>
<UDN>
<MediaRenderer>
6c36e3a3-xxxx=4e1c-ac5f-506e515f0491
</MediaRenderer>
</UDN>
<MythFronten>
<DefaultBackend>
<DBHostName>
localhost
</DBHostName>
<DBUserName>
mythtv
</DBUserName>
<DBPassword>
xxxxxxx
</DBPassword>
<DBName>
mythconverg
</DBName>
<DBPort>
0
</DBPort>
</DefaultBackend>
</MythFrontend>
</UPnP>
</Configuration>
Contact
For questions, comments and patches, email me at [email protected].