Safe Haskell | None |
---|
- data SimpleXML
- data ParseError = ParseError {}
- xmlParser :: MonadThrow m => (SimpleXML -> m a) -> ConduitM Event o m a
- xmlParserM :: MonadThrow m => (SimpleXML -> m a) -> ConduitM Event o m (Maybe a)
- xmlParserConduit :: MonadThrow m => Text -> (SimpleXML -> m a) -> Conduit Event m a
- getT :: (MonadThrow m, FromText a) => SimpleXML -> Text -> m a
- (.<) :: (MonadThrow m, FromText a) => SimpleXML -> Text -> m a
- getElementM :: MonadThrow m => SimpleXML -> Text -> (SimpleXML -> m a) -> m (Maybe a)
- getElement :: MonadThrow m => SimpleXML -> Text -> (SimpleXML -> m a) -> m a
- getElements :: MonadThrow m => SimpleXML -> Text -> Text -> (SimpleXML -> m a) -> m [a]
- content :: MonadThrow m => SimpleXML -> m Text
Documentation
data ParseError Source
xmlParserM :: MonadThrow m => (SimpleXML -> m a) -> ConduitM Event o m (Maybe a)Source
:: MonadThrow m | |
=> Text | name of item set |
-> (SimpleXML -> m a) | item parser |
-> Conduit Event m a |
(.<) :: (MonadThrow m, FromText a) => SimpleXML -> Text -> m aSource
infix version of getT. like aeson's (.:).
getElementM :: MonadThrow m => SimpleXML -> Text -> (SimpleXML -> m a) -> m (Maybe a)Source
getElement :: MonadThrow m => SimpleXML -> Text -> (SimpleXML -> m a) -> m aSource
getElements :: MonadThrow m => SimpleXML -> Text -> Text -> (SimpleXML -> m a) -> m [a]Source
content :: MonadThrow m => SimpleXML -> m TextSource