- tagOpen :: (String -> Bool) -> ([Attribute] -> Bool) -> Tag -> Bool
- tagClose :: (String -> Bool) -> Tag -> Bool
- tagText :: (String -> Bool) -> Tag -> Bool
- tagComment :: (String -> Bool) -> Tag -> Bool
- tagOpenLit :: String -> ([Attribute] -> Bool) -> Tag -> Bool
- tagCloseLit :: String -> Tag -> Bool
- tagOpenAttrLit :: String -> Attribute -> Tag -> Bool
- tagOpenAttrNameLit :: String -> String -> (String -> Bool) -> Tag -> Bool
- tagOpenNameLit :: String -> Tag -> Bool
- tagCloseNameLit :: String -> Tag -> Bool
- anyAttr :: ((String, String) -> Bool) -> [Attribute] -> Bool
- anyAttrName :: (String -> Bool) -> [Attribute] -> Bool
- anyAttrValue :: (String -> Bool) -> [Attribute] -> Bool
- anyAttrLit :: (String, String) -> [Attribute] -> Bool
- anyAttrNameLit :: String -> [Attribute] -> Bool
- anyAttrValueLit :: String -> [Attribute] -> Bool
- getTagContent :: String -> ([Attribute] -> Bool) -> [Tag] -> [Tag]
Documentation
tagOpenLit :: String -> ([Attribute] -> Bool) -> Tag -> BoolSource
match a opening tag's name literally
tagCloseLit :: String -> Tag -> BoolSource
match a closing tag's name literally
tagOpenAttrNameLit :: String -> String -> (String -> Bool) -> Tag -> BoolSource
Match a tag with given name, that contains an attribute with given name, that satisfies a predicate. If an attribute occurs multiple times, all occurrences are checked.
tagCloseNameLit :: String -> Tag -> BoolSource
anyAttrNameLit :: String -> [Attribute] -> BoolSource
anyAttrValueLit :: String -> [Attribute] -> BoolSource