|
|
| version 1.80, 2002/01/29 08:45:36 | version 1.82, 2002/01/31 11:51:46 |
|---|---|
| Line 6 | Line 6 |
| $Id$ | $Id$ |
| */ | */ |
| #include "pa_types.h" | |
| #include "classes.h" | #include "classes.h" |
| #ifdef XML | #ifdef XML |
| #include "pa_stylesheet_connection.h" | |
| #include "pa_request.h" | |
| #include "pa_vxdoc.h" | |
| #include "pa_charset.h" | |
| #include "pa_vfile.h" | |
| #include "xnode.h" | |
| #include "gdome.h" | #include "gdome.h" |
| #include "libxml/tree.h" | #include "libxml/tree.h" |
| extern "C" { | extern "C" { |
| Line 20 extern "C" { | Line 26 extern "C" { |
| #include "libxslt/transform.h" | #include "libxslt/transform.h" |
| #include "libxslt/xsltutils.h" | #include "libxslt/xsltutils.h" |
| #include "pa_stylesheet_connection.h" | |
| #include "pa_request.h" | |
| #include "pa_vxdoc.h" | |
| #include "pa_charset.h" | |
| #include "pa_vfile.h" | |
| #include "xnode.h" | |
| // defines | // defines |
| #define XDOC_CLASS_NAME "xdoc" | #define XDOC_CLASS_NAME "xdoc" |
| Line 613 static void xdoc2buf(Pool& pool, VXdoc& | Line 611 static void xdoc2buf(Pool& pool, VXdoc& |
| OOE2STYLE(omitXmlDeclaration); | OOE2STYLE(omitXmlDeclaration); |
| xmlDoc *document=gdome_xml_doc_get_xmlDoc(vdoc.get_document(&method_name)); | xmlDoc *document=gdome_xml_doc_get_xmlDoc(vdoc.get_document(&method_name)); |
| if(xsltSaveResultTo n(outputBuffer.get(), document, stylesheet.get())<0) { | if(xsltSaveResultTo(outputBuffer.get(), document, stylesheet.get())<0) { |
| GdomeException exc=0; | GdomeException exc=0; |
| throw Exception(0, 0, | throw Exception(0, 0, |
| &method_name, | &method_name, |