2 /* This file implements a XSLT engine working on Gdome documents. In fact,
3 * it just maps Gdome documents to libxml documents back and forth, and
4 * applyes the transformation on libxml documents using libxlt.
6 * The code is largely based on the code of T.J. Mather's XML::GDOME::XSLT
7 * Perl module (http://kobesearch.cpan.org/search?dist=XML-GDOME-XSLT)
10 * Claudio Sacerdoti Coen <sacerdot@cs.unibo.it>
11 * Stefano Zacchiroli <zack@cs.unibo.it>
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 * For more information, please send an email to {sacerdot,zack}@cs.unibo.it
31 xsltStylesheetPtr processStylesheet (GdomeDocument* style);
33 GdomeDocument* applyStylesheet (GdomeDocument* source,
34 xsltStylesheetPtr style_libxslt,
37 int saveResultToFilename (const char* name,
38 GdomeDocument* result,
39 xsltStylesheetPtr style_libxslt,
41 int saveResultToFile (FILE* file,
42 GdomeDocument* result,
43 xsltStylesheetPtr style_libxslt);
44 int saveResultToFd (int fd,
45 GdomeDocument* result,
46 xsltStylesheetPtr style_libxslt);