![](https://secure.gravatar.com/avatar/8b97b5aad24c30e4a1357b38cc39aeaa.jpg?s=120&d=mm&r=g)
April 16, 2008
2:46 p.m.
Hi, Dmitri Fedoruk wrote:
Which options do I have except of switching URL to a local path in SYSTEM definition? Setting up the DTD catalog on every machine that runs the application? The ideal option would be to tell the parser "load the given DTD from a given location(i.e. disk) and use it from now and on for parsing all incoming data", but is it possible?
You can use a custom resolver and cache the DTD (by its URL) once its loaded. http://codespeak.net/lxml/resolvers.html Stefan