Re: [xslt] xsltRunStylesheet() with IOBuf
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] xsltRunStylesheet() with IOBuf
- Date: Thu, 27 Feb 2003 12:20:53 -0500
On Thu, Feb 27, 2003 at 12:02:59PM -0500, Gennady Feldman wrote:
> 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.
I don't see why this would gemerate a different result than xsltproc
for example.
> - Is this method more efficient than the one I was using before? (doing
> applystylesheet and saving the result using xsltSaveResultTo..)
No, this is the same, xsltRunStylesheetUser() calls
xsltApplyStylesheetInternal() and xsltSaveResultTo(), you should
not expect any gain.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]