|
|
| version 1.67, 2002/01/21 16:44:48 | version 1.69, 2002/01/21 17:06:35 |
|---|---|
| Line 9 | Line 9 |
| #include "pa_types.h" | #include "pa_types.h" |
| #ifdef XML | #ifdef XML |
| #include "gdome.h" | |
| #include "libxml/tree.h" | |
| extern "C" { | |
| #include "gdomecore/gdome-xml-node.h" | |
| #include "gdomecore/gdome-xml-document.h" | |
| }; | |
| #include "libxslt/xsltInternals.h" | |
| #include "libxslt/transform.h" | |
| #include "libxslt/xsltutils.h" | |
| #include "pa_stylesheet_connection.h" | #include "pa_stylesheet_connection.h" |
| #include "classes.h" | #include "classes.h" |
| #include "pa_request.h" | #include "pa_request.h" |
| Line 17 | Line 27 |
| #include "pa_vfile.h" | #include "pa_vfile.h" |
| #include "xnode.h" | #include "xnode.h" |
| extern "C" { | |
| #include "gdomecore/gdome-xml-node.h" | |
| #include "gdomecore/gdome-xml-document.h" | |
| }; | |
| #include "libxslt/transform.h" | |
| #include "libxslt/xsltutils.h" | |
| // defines | // defines |
| Line 453 static void _load(Request& r, const Stri | Line 457 static void _load(Request& r, const Stri |
| &exc); | &exc); |
| if(!document || exc || xmlHaveGenericErrors()) | if(!document || exc || xmlHaveGenericErrors()) |
| throw Exception(0, 0, | throw Exception(0, 0, |
| &method_name, | &uri, |
| exc); | exc); |
| // replace any previous parsed source | // replace any previous parsed source |
| Line 717 static void _transform(Request& r, const | Line 721 static void _transform(Request& r, const |
| if(!transformed || xmlHaveGenericErrors()) { | if(!transformed || xmlHaveGenericErrors()) { |
| GdomeException exc=0; | GdomeException exc=0; |
| throw Exception(0, 0, | throw Exception(0, 0, |
| &method_name, | &stylesheet_filespec, |
| exc); | exc); |
| } | } |