diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+0.4
+===
+
+  * Supported `xml-conduit-1.10`
+
 0.3.2.2
 =======
 
diff --git a/example/books.hs b/example/books.hs
--- a/example/books.hs
+++ b/example/books.hs
@@ -94,7 +94,7 @@
 -- </book>
 -- <book category="Textbooks">
 --     <title>Real World Haskell</title>
---     <author year="2008">Bryan O&#39;Sullivan, Don Stewart, and John Goerzen</author>
+--     <author year="2008">Bryan O'Sullivan, Don Stewart, and John Goerzen</author>
 --     <pages>700 pages</pages>
 -- </book>
 -- <book category="TextBooks">
@@ -109,7 +109,7 @@
 -- </book>
 -- <book category="Joke">
 --     <title>Functional Ikamusume</title>
---     <author>Team &#34;Referential Transparent Sea Keepers&#34;</author>
+--     <author>Team "Referential Transparent Sea Keepers"</author>
 -- </book>
 -- </books>
 appendPages :: AsXmlDocument t => t -> t
diff --git a/src/Text/Xml/Lens.hs b/src/Text/Xml/Lens.hs
--- a/src/Text/Xml/Lens.hs
+++ b/src/Text/Xml/Lens.hs
@@ -113,7 +113,7 @@
 
 -- | XML document parsing and rendering with the default settings
 _XmlDocument :: AsXmlDocument t => Prism' t Document
-_XmlDocument = _XmlDocumentWith def def
+_XmlDocument = _XmlDocumentWith (const def) (const def)
 {-# INLINE _XmlDocument #-}
 
 -- | HTML document parsing overloading
diff --git a/src/Text/Xml/Lens/LowLevel.hs b/src/Text/Xml/Lens/LowLevel.hs
--- a/src/Text/Xml/Lens/LowLevel.hs
+++ b/src/Text/Xml/Lens/LowLevel.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 -- | Optics Template Haskell could generate, but didn't
 module Text.Xml.Lens.LowLevel where
 
@@ -11,6 +12,9 @@
   )
 import           Text.XML.Stream.Parse (DecodeEntities)
 import qualified Text.XML as XML
+#if MIN_VERSION_xml_conduit(1,10,0)
+import qualified Text.XML.Stream.Render.Internal as XML (rsPretty)
+#endif
 
 -- | A Lens into 'XML.psDecodeEntities'
 psDecodeEntities :: Lens' ParseSettings DecodeEntities
diff --git a/xml-html-conduit-lens.cabal b/xml-html-conduit-lens.cabal
--- a/xml-html-conduit-lens.cabal
+++ b/xml-html-conduit-lens.cabal
@@ -1,5 +1,5 @@
 name:                xml-html-conduit-lens
-version:             0.3.2.4
+version:             0.4
 synopsis:            Optics for xml-conduit and html-conduit
 description:         Optics for xml-conduit and html-conduit
 homepage:            https://github.com/supki/xml-html-conduit-lens#readme
@@ -27,7 +27,7 @@
 
 source-repository this
   type: git
-  tag: 0.3.2.4
+  tag: 0.4
   location: https://github.com/supki/xml-html-conduit-lens
 
 library
@@ -37,9 +37,9 @@
       base                    >= 4     && < 5
     , bytestring
     , lens                    >= 4.0.1
-    , containers              >= 0.4.0 && < 0.6
-    , text                    >= 0.11  && < 1.3
-    , xml-conduit             >= 1.1   && < 1.9
+    , containers              >= 0.4.0 && < 0.9
+    , text                    >= 0.11  && < 2.2
+    , xml-conduit             >= 1.9   && < 1.11
     , html-conduit            >= 1.1   && < 1.4
   hs-source-dirs:
     src
@@ -68,7 +68,7 @@
     , hspec
     , hspec-expectations-lens >= 0.3
     , lens                    >= 4.0
-    , xml-conduit             >= 1.1   && < 1.9
+    , xml-conduit             >= 1.1   && < 1.11
     , xml-html-conduit-lens
   other-modules:
     Text.Xml.LensSpec
