Popularity
8.2
Stable
Activity
0.0
Declining
48
4
8
Monthly Downloads: 42
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
xml-lens alternatives and similar packages
Based on the "XML" category.
Alternatively, view xml-lens alternatives based on common mentions on social networks and blogs.
-
tagsoup
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents -
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-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
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
* 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-lens or a related project?
Popular Comparisons
README
xml-lens
Lenses and traversals for xml-conduit.
Example
> doc <- Text.XML.readFile def "examples/books.xml"
> doc ^.. root . el "books" ./ el "book" . attributeIs "category" "Textbooks" ./ el "title" . text
["Learn You a Haskell for Great Good!","Programming in Haskell","Real World Haskell"]
> lengthOf ?? doc $ root . el "books" ./ el "book"
7
> doc ^? root . el "books" ./ attributeIs "category" "Joke" ./ el "title" . text
Just "Functional Ikamusume"
> doc & root . el "books" ./ el "book" ./ el "pages" . text <>~ " pages" & renderLBS def & BL.putStrLn
<?xml version="1.0" encoding="ISO-8859-1"?>
<books>
<book category="Language and library definition">
<title>Haskell 98 language and libraries: the Revised Report</title>
<author year="2003">Simon Peyton Jones</author>
<pages>272 pages</pages>
<price>£45.00</price>
</book>
<book category="Textbooks">
<title>Learn You a Haskell for Great Good!</title>
<author year="2011">Miran Lipovaca</author>
<pages>360 pages</pages>
</book>
<book category="Textbooks">
<title>Programming in Haskell</title>
<author year="2007">Graham Hutton</author>
<pages>200 pages</pages>
</book>
…