Hets - the Heterogeneous Tool Set

Copyright(c) Christian Maeder DFKI GmbH 2011
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

Common.XmlDiff

Description

 

Documentation

hetsXmlChanges :: Element -> Element -> [Change] Source #

hetsXmlDiff :: Element -> Element -> Element Source #

type UnordTags = Map QName (Set QName) Source #

type Count = Map QName Int Source #

xmlDiff :: UnordTags -> [Step] -> Count -> [Content] -> [Content] -> [Change] Source #

removeIns :: [Step] -> Count -> [Content] -> [Change] Source #

attrMap :: [Attr] -> Map QName String Source #

matchElems :: QName -> String -> Map QName String -> Content -> Bool Source #

xmlElemDiff :: UnordTags -> [Step] -> [Attr] -> [Content] -> Element -> [Change] Source #

xmlAttrDiff :: [Step] -> [Attr] -> [Attr] -> [Change] Source #

extendPath :: QName -> Count -> [Step] -> (Count, [Step]) Source #

addPathNumber :: Int -> [Step] -> [Step] Source #

mkXQName :: String -> QName Source #

changeToXml :: Change -> Element Source #

addsToXml :: AddChange -> Content Source #

mkMods :: [Change] -> Element Source #