Re: [xml] libxml2 & libcurl
- From: Christian Engwer <christi uni-hd de>
- To: martin paljak <martin paljak pri ee>
- Cc: xml gnome org
- Subject: Re: [xml] libxml2 & libcurl
- Date: Fri, 23 Jan 2004 08:26:32 +0100
Hi Martin,
Has anyone used libcurl as the url handler of libxml2 (for xinclude at least)?
Is it possible? How? Thoughts, problems, examples ?
I haven't used it, but it shouldn't be a problem at all.
All you have to do, is to provide the apropriate xmlIO handler. The
Interface is very easy (http://xmlsoft.org/xmlio.html). I also had a
short look at libcurl and saw an example implementing libcurls version of
fopen/fclose/fread. So you nearly have all you need to write the IO
handler... it's nearly only copy-and-paste.
If you have any quest, I can try to help you. I already have some
expirience with the xmlIO interface.
I'd like to xinclude documents from PKI protected ssl urls. Has
anyone experimented with something similar, or considers such
functionality as useful?
Sounds usefull... nobody would like to reimplement all this stuff I
guess...
Bye Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]