[xml] Output from libxslt



I can get libxslt to output using the right output method to a file, no
problem. It's just xsltSaveResultToFile. But I want to be able to output
to memory, or with callbacks...

Unfortunately there's no example of xmlOutputBuffer anywhere in the code,
which looks like how I would do it. So my question before I just start
hacking, is what is the "ioctxt" void pointer? Is it somewhere I can stash
a private structure for use in the callback? Or will it get overwritten?
If so, the output callbacks really need some way of storing a private
pointer, otherwise it's going to be impossible to make some of this stuff
thread safe.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\






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