Copyright | (c) Christian Maeder, DFKI GmbH 2010 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
collect xupdate information http://xmldb-org.sourceforge.net/xupdate/xupdate-wd.html http://www.xmldatabases.org/projects/XUpdate-UseCases/
- data AddChange
- valueOfS :: String
- data Insert
- showInsert :: Insert -> String
- data ChangeSel
- data Change = Change ChangeSel Expr
- anaXUpdates :: Monad m => String -> m [Change]
- anaMods :: Monad m => Element -> m [Change]
- xupdateS :: String
- updateS :: String
- elementS :: String
- attributeS :: String
- textS :: String
- appendS :: String
- removeS :: String
- selectS :: String
- isXUpdateQN :: QName -> Bool
- hasLocalQN :: String -> QName -> Bool
- isElementQN :: QName -> Bool
- isAttributeQN :: QName -> Bool
- isTextQN :: QName -> Bool
- isAddQN :: QName -> Bool
- isRemoveQN :: QName -> Bool
- getAttrVal :: Monad m => String -> Element -> m String
- readAttrVal :: (Read a, Monad m) => String -> String -> Element -> m a
- maybeF :: Monad m => String -> Maybe a -> m a
- getSelectAttr :: Monad m => Element -> m String
- getNameAttr :: Monad m => Element -> m String
- str2QName :: String -> QName
- getText :: Monad m => Element -> m String
- getXUpdateText :: Monad m => Element -> m String
- anaXUpdate :: Monad m => Element -> m Change
- partitionAddChanges :: [AddChange] -> ([Attr], [Content])
- failX :: Monad m => String -> QName -> m a
- noContent :: Monad m => Element -> a -> m a
- addXElem :: Monad m => Element -> m AddChange
- emptyCData :: CData -> Bool
- validContent :: Content -> Bool
- cleanUpElem :: Element -> Element
Documentation
data AddChange
possible insertions
showInsert :: Insert -> String
data ChangeSel
anaXUpdates :: Monad m => String -> m [Change]
attributeS :: String
isXUpdateQN :: QName -> Bool
hasLocalQN :: String -> QName -> Bool
isElementQN :: QName -> Bool
isAttributeQN :: QName -> Bool
isRemoveQN :: QName -> Bool
getAttrVal :: Monad m => String -> Element -> m String
extract the non-empty attribute value
readAttrVal :: (Read a, Monad m) => String -> String -> Element -> m a
apply a read operation to the extracted value
getSelectAttr :: Monad m => Element -> m String
getNameAttr :: Monad m => Element -> m String
getXUpdateText :: Monad m => Element -> m String
anaXUpdate :: Monad m => Element -> m Change
partitionAddChanges :: [AddChange] -> ([Attr], [Content])
partitions additions and ignores comments, pi, and value-of
emptyCData :: CData -> Bool
validContent :: Content -> Bool
cleanUpElem :: Element -> Element