Re: [xml] Setting external entity handler for XML reader



On Thu, Jul 07, 2005 at 08:36:09PM +0200, Matthew Gertner wrote:
Is there a way to specify an external entity handler (replacing the default)

  yes 
    http://xmlsoft.org/html/libxml-parser.html#xmlSetExternalEntityLoader

for an XML reader instance?

  but it's global, not per instance.

I noticed that the underlying parser
implementation supports this, but I couldn't see a way to access it from the
reader's public API.

  Right per-document catalog support has no API at the xmlReader level.
Actullally it doesn't have API at the parser level support it's just there
for XML Catalog per document catalog, nobody asked for that extension.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]