Copyright | (C) 2014 John MacFarlane |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
Text.CSL.Parser
Description
Parser for CSL XML files.
Synopsis
- readCSLFile :: Maybe String -> FilePath -> IO Style
- parseCSL :: String -> Style
- parseCSL' :: ByteString -> Style
- parseLocale :: String -> IO Locale
- localizeCSL :: Maybe String -> Style -> IO Style
Documentation
readCSLFile :: Maybe String -> FilePath -> IO Style Source #
Read and parse a CSL style file into a localized sytle.
parseLocale :: String -> IO Locale Source #
Parse locale. Raises CSLLocaleException
on error.
localizeCSL :: Maybe String -> Style -> IO Style Source #
Merge locale into a CSL style.