- 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.
procFPSIO :: XSLTCommand -> XSLPath -> [ByteString] -> IO [ByteString]Source
procLBSIO :: XSLTCmd -> XSLPath -> ByteString -> IO ByteStringSource