Hoogle Search
Within LTS Haskell 22.39 (ghc-9.6.6)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
toCursor :: (node -> [node]) -> node -> Cursor nodexml-conduit Text.XML.Cursor.Generic No documentation available.
type
IndexedCursor = Cursor IndexedNodexml-indexed-cursor Text.XML.Cursor.Indexed This is similar to Cursor except for IndexedNode.
attrValForElemCursor :: Name -> IndexedCursor -> Maybe Textxml-indexed-cursor Text.XML.Cursor.Indexed Find attribute with Name on the element IndexedCursor is pointing to.
>>> let cursor = indexedCursorFromText_ "<foo hello='3'/>" >>> attrValForElemCursor "hello" cursor Just "3" >>> attrValForElemCursor "bye" cursor Nothing
indexedCursorFromByteString :: ByteString -> Either SomeException IndexedCursorxml-indexed-cursor Text.XML.Cursor.Indexed Similar to indexedCursorFromByteString_ but uses parseLBS instead of parseLBS_.
-
xml-indexed-cursor Text.XML.Cursor.Indexed Similar to indexedCursorFromByteString but also takes ParseSettings.
indexedCursorFromByteStringWithOpts_ :: ParseSettings -> ByteString -> IndexedCursorxml-indexed-cursor Text.XML.Cursor.Indexed Similar to indexedCursorFromByteString_ but also takes ParseSettings.
indexedCursorFromByteString_ :: ByteString -> IndexedCursorxml-indexed-cursor Text.XML.Cursor.Indexed This reads a Document from a ByteString with parseLBS_, and then converts that Document to an IndexedCursor.
indexedCursorFromText :: Text -> Either SomeException IndexedCursorxml-indexed-cursor Text.XML.Cursor.Indexed Similar to indexedCursorFromByteString_ but uses parseText instead of parseLBS_.
indexedCursorFromTextWithOpts :: ParseSettings -> Text -> Either SomeException IndexedCursorxml-indexed-cursor Text.XML.Cursor.Indexed Similar to indexedCursorFromText but also takes ParseSettings.
indexedCursorFromTextWithOpts_ :: ParseSettings -> Text -> IndexedCursorxml-indexed-cursor Text.XML.Cursor.Indexed Similar to indexedCursorFromText_ but also takes ParseSettings.