[XML-SIG] using libxslt with strings
veillard at redhat.com
Mon Feb 16 04:48:53 EST 2004
On Mon, Feb 16, 2004 at 10:28:34AM +0100, Paul Boddie wrote:
> Paul Tremblay [mailto:phthenry at earthlink.net] wrote:
> > Now how do I store my result as a string so I can do further processing?
> > I actually want to process a document with several xslt stylesheets, and
> > then process it with SAX.
> What would be really nice with libxslt/libxml2 is a means to write the
> results to a stream that could be read from using the normal Python
> file/stream objects, but without going via a temporary file. It is
> possible to use StringIO on a serialised document, but I doubt that it
> is particularly efficient.
Hum, at the C level there is a generic I/O handling layer, but
I never made the custom wrappers for Python in libxslt.
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the XML-SIG