| hxt-7.5: A collection of tools for processing XML with Haskell. | Contents | Index |
|
Text.XML.HXT.RelaxNG.Utils | Portability | portable | Stability | stable | Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
|
|
|
Description |
Helper functions for RelaxNG validation
|
|
Synopsis |
|
|
|
Documentation |
|
isRelaxAnyURI :: String -> Bool |
Tests whether a URI matches the Relax NG anyURI symbol
|
|
compareURI :: String -> String -> Bool |
Tests whether two URIs are equal after normalizeURI is performed
|
|
normalizeURI :: String -> String |
Converts all letters to the corresponding lower-case letter
and removes a trailing "/"
|
|
isNumber :: String -> Bool |
Tests whether a string matches a number [-](0-9)*
|
|
isNmtoken :: String -> Bool |
|
isName :: String -> Bool |
|
formatStringList :: (String -> String) -> String -> [String] -> String |
|
formatStringListPatt :: [String] -> String |
Formats a list of strings into a single string.
The first parameter formats the elements, the 2. is inserted
between two elements.
example:
formatStringList show ", " ["foo", "bar", "baz"] -> "foo", "bar", "baz"
|
|
formatStringListId :: [String] -> String |
|
formatStringListQuot :: [String] -> String |
|
formatStringListPairs :: [(String, String)] -> String |
|
formatStringListArr :: [String] -> String |
|
Produced by Haddock version 2.1.0 |