|
|
| version 1.52, 2001/12/13 15:17:34 | version 1.53, 2001/12/15 21:28:18 |
|---|---|
| Line 14 | Line 14 |
| #include "pa_vxdoc.h" | #include "pa_vxdoc.h" |
| #include "pa_stylesheet_manager.h" | #include "pa_stylesheet_manager.h" |
| #include "pa_stylesheet_connection.h" | #include "pa_stylesheet_connection.h" |
| #include "pa_charset.h" | |
| #include "pa_vfile.h" | #include "pa_vfile.h" |
| #include "xnode.h" | #include "xnode.h" |
| Line 459 static std::auto_ptr<FormatterListener> | Line 460 static std::auto_ptr<FormatterListener> |
| // default encoding from pool | // default encoding from pool |
| if(oo.encoding.empty()) | if(oo.encoding.empty()) |
| oo.encoding.append(pool.get_charset().cstr()); | oo.encoding.append(pool.get_source_charset().name().cstr()); |
| // default method=xml | // default method=xml |
| if(!oo.method) | if(!oo.method) |
| oo.method=XDOC_OUTPUT_METHOD_OPTION_VALUE_XML; | oo.method=XDOC_OUTPUT_METHOD_OPTION_VALUE_XML; |