Re: [xml] xmlParseDTD with input from memory, in Python

On Wed, Sep 22, 2004 at 10:31:15AM -0400, Fred L. Drake, Jr. wrote:
On Tuesday 21 September 2004 05:17 pm, Daniel Veillard wrote:
 > in the python bindings, but xmlIOParseDTD is not part of the automatically
 > generated binding, though most of the infrastructure seems in place.

Thanks, Daniel!

For the moment, let's assume those routines get exposed at some point (I don't 
have time to figure that out today, though), and I'll use a temporary file as 
a workaround.

From looking at the xmllint code, it looks like I'll also need 
xmlNewValidCtxt() and xmlValidateDtd() to be exposed, but quickly looking at 

import libxml2
[n for n in dir(libxml2) if n.lower().find("valid") != -1]

I don't see anything that looks promising.  Are these exposed already, or 
would those need to be added as well?

  Might need to be added. Or do a bit differently for the bindings.

I tried pointing Epydoc at the libxml2 Python module, and while it generated a 
pile of HTML, there's not a lot there for someone that's not already familiar 
with the library.  The material on gives the same feeling.  Are 
there any introductory materials for new users for the libxml2 and libxslt 

 Agreed it's far from complete.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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