Text.RDF.RDF4H.XmlParser
Description
An parser for the RDF/XML format http://www.w3.org/TR/REC-rdf-syntax/.
data XmlParser Source #
Configuration for the XML parser
Constructors
Fields
The default base URI to parse the document.
The retrieval URI of the XML document.
Defined in Text.RDF.RDF4H.XmlParser
Methods
parseString :: Rdf a => XmlParser -> Text -> Either ParseFailure (RDF a) Source #
parseFile :: Rdf a => XmlParser -> String -> IO (Either ParseFailure (RDF a)) Source #
parseURL :: Rdf a => XmlParser -> String -> IO (Either ParseFailure (RDF a)) Source #
parseXmlDebug Source #
Arguments
Path of the file to parse.
A parser for debugging purposes.