--- parser3/src/classes/xdoc.C 2002/01/29 08:45:36 1.80 +++ parser3/src/classes/xdoc.C 2002/01/31 11:51:46 1.82 @@ -4,12 +4,18 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://paf.design.ru) - $Id: xdoc.C,v 1.80 2002/01/29 08:45:36 paf Exp $ + $Id: xdoc.C,v 1.82 2002/01/31 11:51:46 paf Exp $ */ -#include "pa_types.h" #include "classes.h" #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 "libxml/tree.h" extern "C" { @@ -20,14 +26,6 @@ extern "C" { #include "libxslt/transform.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 #define XDOC_CLASS_NAME "xdoc" @@ -613,7 +611,7 @@ static void xdoc2buf(Pool& pool, VXdoc& OOE2STYLE(omitXmlDeclaration); 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; throw Exception(0, 0, &method_name,