xml-catalog-0.7.0: Parse XML catalog files

Safe HaskellSafe-Infered

Text.XML.Catalog

Contents

Description

Used for loading a catalog file, caching DTDs and applying DTDs to documents.

Synopsis

Catalogs

type Catalog = Map PubSys URISource

An XML catalog, mapping public and system identifiers to filepaths.

data PubSys Source

Either a public or system identifier.

Constructors

Public Text 
System Text 

Instances

loadCatalog :: MonadIO m => SchemeMap -> URI -> m CatalogSource

Load a Catalog from the given path.

Resolving

resolveURISource

Arguments

:: Catalog 
-> Maybe URI

base URI for relative system identifiers

-> ExternalID 
-> Maybe URI