Re: [xml] accessing xmlIO from the python api
- From: Daniel Veillard <veillard redhat com>
- To: Dan Mercer <dmercer 8kb net>
- Cc: xml gnome org
- Subject: Re: [xml] accessing xmlIO from the python api
- Date: Thu, 5 May 2005 04:44:05 -0400
On Wed, May 04, 2005 at 01:44:27PM -0700, Dan Mercer wrote:
On Wed, May 04, 2005 at 04:18:21PM -0400, Daniel Veillard wrote:
Is it possible to access calls like IOHTTPOpen from the python API, or is
there a mechanism for providing a callback to some other HTTP implementation?
normal Python IO should work fine. See how the examples use
This works well in the simple case where I just want to feed an XML document
as a StringIO object to an inputBuffer, but it doesn't help me (I think) when
that document contains xinclude or xsl:include elements that need to be handled
in some special way.
In my case, I would like to handle resolving and retrieving the hrefs for
includes myself rather than going through nanoHTTP.
use the resolver override, Python example
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/
] [Thread Prev