HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulexml-1.3.14Haskell98

Text.XML.Light.Proc

  • 20 values
  • Packagexml-1.3.14
  • Exports20
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceProc.hs
valuestrContent :: Element -> String
#

Get the text value of an XML element. This function ignores non-text elements, and concatenates all text elements.

valuefindElements :: QName -> Element -> [Element]
#

Find all non-nested occurances of an element. (i.e., once we have found an element, we do not search for more occurances among the element's children).

valuefilterElements :: (Element -> Bool) -> Element -> [Element]
#

Find all non-nested occurrences of an element wrt. given predicate. (i.e., once we have found an element, we do not search for more occurances among the element's children).

valuefilterElementsName :: (QName -> Bool) -> Element -> [Element]
#

Find all non-nested occurences of an element wrt a predicate over element names. (i.e., once we have found an element, we do not search for more occurances among the element's children).