xml-extractors-0.4.0.0: Wrapper over xml to extract data from parsed xml

Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.XML.Light.Extractors.ShowErr

Description

This module provides functions to translate errors into strings.

Synopsis

Documentation

showExtractionErr :: ExtractionErr -> String Source

Converts an extraction error to a multi line string message.

Paths are shown according to showPath.

showPath :: Path -> String Source

Paths will show like this:

1/foo/2/bar/@x

which represents the "x" attribute of the "bar" element, which is the second content of the "foo" element which is the first content from the root.