|
|
| version 1.41, 2001/11/01 15:45:27 | version 1.44, 2001/11/09 12:09:53 |
|---|---|
| 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 689 static void _transform(Request& r, const | Line 690 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); |