<div>I have created a module system for my needs far more simpler than blackhole and I cannot integrate sxml in my module framework.</div><div>libxml2 is the best option for me.</div><br><div class="gmail_quote">On Tue, Jul 17, 2012 at 11:55 AM, Klaus Schilling <span dir="ltr"><<a href="mailto:schilling.klaus@web.de" target="_blank">schilling.klaus@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Cyrille Duret <<a href="mailto:cduret@gmail.com">cduret@gmail.com</a>><br>
Subject: [gambit-list] problem with ffi and libxml2<br>
Date: Tue, 17 Jul 2012 10:13:10 +0200<br>
<div class="im"><br>
> hello,<br>
> I have problem to parse xml string with ffi and libxml2.<br>
><br>
> My code is in the test file libxml-raw.scm :<br>
><br>
> (c-declare #<<end<br>
><br>
> #include <stdlib.h><br>
> #include <libxml/xmlreader.h><br>
><br>
> xmlTextReaderPtr create_reader(const char* buffer, size_t len) {<br>
>   return xmlReaderForMemory(buffer, len, "_.xml", NULL, 0);<br>
> }<br>
<br>
</div>What are the major advantages of using libxml2 xmlreader with ffi over<br>
using sxml?<br>
<span class="HOEnZb"><font color="#888888"><br>
Klaus Schilling<br>
</font></span></blockquote></div><br>