happstack-server-0.4.1: Web related tools and services.Source codeContentsIndex
Happstack.Server.XSLT
Synopsis
xsltFile :: XSLPath -> FilePath -> FilePath -> IO ()
xsltString :: XSLPath -> String -> String
xsltElem :: XSLPath -> Element -> String
xsltFPS :: XSLPath -> [ByteString] -> [ByteString]
xsltFPSIO :: XSLPath -> [ByteString] -> IO [ByteString]
type XSLPath = FilePath
xsltproc :: XSLTCmd
saxon :: XSLTCmd
procFPSIO :: XSLTCommand -> XSLPath -> [ByteString] -> IO [ByteString]
procLBSIO :: XSLTCmd -> XSLPath -> ByteString -> IO ByteString
type XSLTCommand = XSLPath -> FilePath -> FilePath -> (FilePath, [String])
data XSLTCmd
Documentation
xsltFile :: XSLPath -> FilePath -> FilePath -> IO ()Source
Note that the xsl file must have .xsl suffix.
xsltString :: XSLPath -> String -> StringSource
Uses the provided xsl file to transform the given string. This function creates temporary files during its execution, but guarantees their cleanup.
xsltElem :: XSLPath -> Element -> StringSource
Uses xsltString to transform the given XML Element into a a String.
xsltFPS :: XSLPath -> [ByteString] -> [ByteString]Source
Performs an XSL transformation with lists of ByteStrings instead of a String.
xsltFPSIO :: XSLPath -> [ByteString] -> IO [ByteString]Source
Equivalent to xsltFPS but does not hide the inherent IO of the low-level ByteString operations.
type XSLPath = FilePathSource
xsltproc :: XSLTCmdSource
Use xsltproc to transform XML.
saxon :: XSLTCmdSource
Use saxon to transform XML.
procFPSIO :: XSLTCommand -> XSLPath -> [ByteString] -> IO [ByteString]Source
procLBSIO :: XSLTCmd -> XSLPath -> ByteString -> IO ByteStringSource
type XSLTCommand = XSLPath -> FilePath -> FilePath -> (FilePath, [String])Source
data XSLTCmd Source
show/hide Instances
Produced by Haddock version 2.6.1