sxml-0.1.0.0: A SXML-parser

Safe HaskellSafe
LanguageHaskell2010

Text.SXML.Utils

Description

Utility functions.

This module contains utility functions which might be useful elsewhere. So far, there are only functions to determine if a String may be a valid XML element name.

Synopsis

Documentation

isXMLNameStartChar :: Char -> Bool Source #

This function returns True is its input is a valid character at the beginning of an XML element name.

isXMLNameChar :: Char -> Bool Source #

This function returns True is its input is a valid character within an XML element name.

isXMLName :: [Char] -> Bool Source #

This function returns True is its input is a valid XML element name.