|
|
|
Description |
This module ported from Text.XML.Light.Proc
|
|
Synopsis |
|
onlyElems :: NodeClass n c => c (n c tag text) -> c (n c tag text) | | onlyText :: (NodeClass n c, Monoid text) => c (n c tag text) -> c text | | findChildren :: (NodeClass n c, Eq tag, Monoid tag) => tag -> n c tag text -> c (n c tag text) | | filterChildren :: NodeClass n c => (n c tag text -> Bool) -> n c tag text -> c (n c tag text) | | filterChildrenName :: (NodeClass n c, Monoid tag) => (tag -> Bool) -> n c tag text -> c (n c tag text) | | findChild :: (NodeClass n [], GenericXMLString tag) => tag -> n [] tag text -> Maybe (n [] tag text) | | filterChild :: NodeClass n [] => (n [] tag text -> Bool) -> n [] tag text -> Maybe (n [] tag text) | | filterChildName :: (NodeClass n [], Monoid tag) => (tag -> Bool) -> n [] tag text -> Maybe (n [] tag text) | | findElement :: (NodeClass n [], Eq tag, Monoid tag) => tag -> n [] tag text -> Maybe (n [] tag text) | | filterElement :: NodeClass n [] => (n [] tag text -> Bool) -> n [] tag text -> Maybe (n [] tag text) | | filterElementName :: (NodeClass n [], Monoid tag) => (tag -> Bool) -> n [] tag text -> Maybe (n [] tag text) | | findElements :: (NodeClass n c, Eq tag, Monoid tag) => tag -> n c tag text -> c (n c tag text) | | filterElements :: NodeClass n c => (n c tag text -> Bool) -> n c tag text -> c (n c tag text) | | filterElementsName :: (NodeClass n c, Monoid tag) => (tag -> Bool) -> n c tag text -> c (n c tag text) |
|
|
Documentation |
|
|
Select only the elements from a list of XML content.
|
|
|
Select only the text from a list of XML content.
|
|
|
Find all immediate children with the given name.
|
|
filterChildren :: NodeClass n c => (n c tag text -> Bool) -> n c tag text -> c (n c tag text) | Source |
|
Filter all immediate children wrt a given predicate.
|
|
|
Filter all immediate children wrt a given predicate over their names.
|
|
|
Find an immediate child with the given name.
|
|
|
Find an immediate child with the given name.
|
|
|
Find an immediate child with name matching a predicate.
|
|
|
Find the left-most occurrence of an element matching given name.
|
|
|
Filter the left-most occurrence of an element wrt. given predicate.
|
|
|
Filter the left-most occurrence of an element wrt. given predicate.
|
|
|
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).
|
|
filterElements :: NodeClass n c => (n c tag text -> Bool) -> n c tag text -> c (n c tag text) | Source |
|
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).
|
|
|
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).
|
|
Produced by Haddock version 2.6.1 |