Ringo De Smet wrote:
> I would like to use PUBLIC identifiers in my XML files without
> having to specify where the real DTD is stored. If I understand
> correctly, catalog files are what I need. But does Xerces Java
> support catalog files, and where can I find information on how
> to define and use one?

You can write an EntityResolver and register it with
the parser to perform catalog operations. If you want,
you can use some catalog implementations supplied with
Xerces (though not documented). Check out the following 
classes:

  org.apache.xerces.readers.XMLCatalogHandler
  org.apache.xerces.readers.XCatalog

-- 
Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]

Reply via email to