hxt-xslt-9.0.0: The XSLT modules for HXT.Source codeContentsIndex
Text.XML.HXT.XSLT.CompiledStylesheet
Portabilityportable
Stabilityexperimental
MaintainerUwe Schmidt (uwe\@fh-wedel.de)
Description
Types for compiled stylesheets
Documentation
data CompiledStylesheet Source
Constructors
CompStylesheet [MatchRule] (Map ExName NamedRule) (Map ExName Variable) (Map ExName [AttributeSet]) [Strips] NSAliasing
getMatchRules :: CompiledStylesheet -> [MatchRule]Source
getNamedRules :: CompiledStylesheet -> Map ExName NamedRuleSource
getVariables :: CompiledStylesheet -> Map ExName VariableSource
getAttributeSets :: CompiledStylesheet -> Map ExName [AttributeSet]Source
getStrips :: CompiledStylesheet -> [Strips]Source
getAliases :: CompiledStylesheet -> NSAliasingSource
data MatchRule Source
Constructors
MatRule MatchExpr Float (Maybe ExName) [MatchRule] [Variable] Template
getRulePrio :: MatchRule -> FloatSource
getRuleMode :: MatchRule -> Maybe ExNameSource
getRuleImports :: MatchRule -> [MatchRule]Source
data NamedRule Source
Constructors
NamRule ExName [Variable] Template
getRuleName :: NamedRule -> ExNameSource
data Variable Source
Constructors
MkVar Bool ExName (Either Expr Template)
getVarName :: Variable -> ExNameSource
isParam :: Variable -> BoolSource
newtype UsedAttribSets Source
Constructors
UsedAttribSets [ExName]
data AttributeSet Source
Constructors
AttribSet ExName UsedAttribSets Template
type NTest = ExNameSource
parseNTest :: UriMapping -> String -> NTestSource
type Strips = Map NTest BoolSource
lookupStrip :: ExName -> [Strips] -> BoolSource
lookupStrip1 :: ExName -> Strips -> Maybe BoolSource
feedSpaces :: Bool -> [NTest] -> Strips -> StripsSource
feedPreserves :: [NTest] -> Strips -> StripsSource
feedStrips :: [NTest] -> Strips -> StripsSource
stripDocument :: [Strips] -> XmlTree -> XmlTreeSource
stripStylesheet :: XmlTree -> XmlTreeSource
stripSpaces :: (Bool -> XNode -> Bool) -> Bool -> XmlTree -> XmlTreeSource
type NSAliasing = Map String StringSource
addAlias :: UriMapping -> String -> String -> NSAliasing -> NSAliasingSource
lookupAlias :: NSAliasing -> QName -> QNameSource
aliasUriMapping :: NSAliasing -> UriMapping -> UriMappingSource
data Template Source
Constructors
TemplComposite [Template]
TemplForEach SelectExpr [SortKey] Template
TemplChoose [When]
TemplMessage Bool Template
TemplElement ComputedQName UriMapping UsedAttribSets Template
TemplAttribute ComputedQName Template
TemplText String
TemplValueOf StringExpr
TemplComment Template
TemplProcInstr StringExpr Template
TemplApply (Maybe SelectExpr) (Maybe ExName) (Map ExName Variable) [SortKey]
TemplApplyImports
TemplVariable Variable
TemplCall ExName (Map ExName Variable)
TemplCopy UsedAttribSets Template
TemplCopyOf Expr
data SortKey Source
Constructors
SortK StringExpr StringExpr StringExpr
data When Source
Constructors
WhenPart TestExpr Template
data ComputedQName Source
Constructors
LiteralQName QName
CompQName UriMapping StringExpr StringExpr
newtype SelectExpr Source
Constructors
SelectExpr Expr
newtype TestExpr Source
Constructors
TestExpr Expr
newtype StringExpr Source
Constructors
StringExpr Expr
newtype MatchExpr Source
Constructors
MatchExpr Expr
Produced by Haddock version 2.6.1