[xslt] xsltRunStylesheet() with IOBuf



I was browsing the api and 1.0.26 source code (esp. xsltproc part) when
I noticed that I could generate the output without needing to save a
pointer to the results and doing the transformation call. I could use
xsltRunStylesheet() API call. (Simpler version of xsltRunStylesheetUser)
I basically managed to get it working with my apache modules by going
back to the output buffer callback api. 

A couple of things:
- Sometimes it does generate bad HTML code, and I know that this might
be a known issue. Is somebody working on this, or should I keep away
from using it? I might take a look at this, but i am afraid that it just
might get too messy for me to figure it out.

- Is this method more efficient than the one I was using before? (doing
applystylesheet and saving the result using xsltSaveResultTo..) 

G.F. aka Gena01
http://www.gena01.com



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