Text.XML.LibXML.Parser
- parseFile :: MonadIO m => FilePath -> m Document
- parseFile_ :: MonadIO m => FilePath -> m (Maybe Document)
- parseMemory :: MonadIO m => ByteString -> m Document
- parseMemory_ :: MonadIO m => ByteString -> m (Maybe Document)
- cleanupParser :: IO ()
- substituteEntitiesDefault :: MonadIO m => Bool -> m Bool
Documentation
parseFile :: MonadIO m => FilePath -> m Document
Parse XML document from a file. Throws an exception on error.
parseFile_ :: MonadIO m => FilePath -> m (Maybe Document)
parseMemory :: MonadIO m => ByteString -> m Document
parseMemory_ :: MonadIO m => ByteString -> m (Maybe Document)
cleanupParser :: IO ()
substituteEntitiesDefault :: MonadIO m => Bool -> m Bool
Set and return the previous value for default entity support.