Re: [xslt] xsltSaveResultTo & xsltSaveResultToFile
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] xsltSaveResultTo & xsltSaveResultToFile
- Date: Mon, 14 May 2001 04:22:33 -0400
On Mon, May 14, 2001 at 10:04:22AM +0200, Kris Vloeberghs wrote:
> Hello there,
> save_result = xsltSaveResultTo (xml_output_buffer, xml_result_file,
^^^^^^^^^^^^^^^^
No idea how you allocated it !
> output_file = fopen ("./output.html", "ab");
> if (output_file != NULL)
> {
> save_result = xsltSaveResultToFile (xml_output_buffer,
> xml_result_file, xslt_stylesheet);
xsltproc uses xsltSaveResultToFile ths first parameter is a FILE *
You're passing the same object as in the first call.
Basic programming mistake, not libxslt related and activating warnings
(or looking at them in your compiler output) should have pinpointed it !.
> & xsltSaveResultToFile). Can anybody tell me what's happening (or not)
> here?
Looks like programmation errors. At least one is obvious :-\
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
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]