|
|
| version 1.41, 2001/11/01 15:45:27 | version 1.45, 2001/11/12 10:00:31 |
|---|---|
| Line 2 | Line 2 |
| Parser: @b xdoc parser class. | Parser: @b xdoc parser class. |
| Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf) | Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru) |
| $Id$ | $Id$ |
| */ | */ |
| Line 533 static void _set(Request& r, const Strin | Line 533 static void _set(Request& r, const Strin |
| Temp_lang temp_lang(r, String::UL_XML); | Temp_lang temp_lang(r, String::UL_XML); |
| const String& xml=r.process(vxml).as_string(); | const String& xml=r.process(vxml).as_string(); |
| std::istrstream stream(xml.cstr()); | std::istrstream stream( |
| xml.cstr(String::UL_UNSPECIFIED, r.connection)); | |
| const XalanParsedSource* parsedSource; | const XalanParsedSource* parsedSource; |
| try { | try { |
| Line 622 static void add_xslt_param(const Hash::K | Line 623 static void add_xslt_param(const Hash::K |
| XalanDOMString(attribute_cstr), | XalanDOMString(attribute_cstr), |
| XalanDOMString(meaning_cstr)); | XalanDOMString(meaning_cstr)); |
| } | } |
| static void _transform(Request& r, const String& method_name, MethodParams *params) { | static void _transform(Request& r, const String& method_name, MethodParams *params) { |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |
| VXdoc& vdoc=*static_cast<VXdoc *>(r.self); | VXdoc& vdoc=*static_cast<VXdoc *>(r.self); |
| Line 689 static void _transform(Request& r, const | Line 689 static void _transform(Request& r, const |
| Exception::provide_source(pool, &stylesheet_file_name, e); | Exception::provide_source(pool, &stylesheet_file_name, e); |
| } | } |
| // close | |
| connection.close(); | |
| // write out result | // write out result |
| VXdoc& result=*new(pool) VXdoc(pool, target, false/*owns not*/); | VXdoc& result=*new(pool) VXdoc(pool, target, false/*owns not*/); |
| r.write_no_lang(result); | r.write_no_lang(result); |