XML-Catalog README


XML-Catalog documentation  | view source Contained in the XML-Catalog distribution.

Index


NAME

Top

XML::Catalog - Resolve public identifiers and remap system identifiers

SYNOPSIS

Top

  use XML::Catalog;
  my $catalog=XML::Catalog->new('/xml/catalog.cat');
  $catalog->add('http://www.w3.org/xcatalog/mastercat.xml');
  my $sysid=$catalog->resolve_public('-//John Cowan//LOC Diacritics');
  my $newsysid=$catalog->remap_system('http://www.w3.org');
  $parser->setHandlers(ExternEnt=>$catalog->get_handler($parser));

DESCRIPTION

Top

This module implements draft 0.4 of John Cowan's XML Catalog (formerly known as XCatalog) proposal (<http://www.ccil.org/~cowan/XML/XCatalog.html>). Catalogs may be written in either SOCAT or XML syntax (see the proposal for syntax details); XML::Catalog will assume SOCAT syntax if the catalog is not in well-formed XML syntax.

AUTHOR

Top

Eric Bohlman (ebohlman@netcom.com)

COPYRIGHT

Top


XML-Catalog documentation  | view source Contained in the XML-Catalog distribution.