|
|
| version 1.35, 2001/10/26 12:21:35 | version 1.37, 2001/10/26 15:55:20 |
|---|---|
| Line 77 static void _createElement(Request& r, c | Line 77 static void _createElement(Request& r, c |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |
| VXdoc& vdoc=*static_cast<VXdoc *>(r.self); | VXdoc& vdoc=*static_cast<VXdoc *>(r.self); |
| const String& tagName=params->as_string(0, "tagName must be string"); | Temp_lang temp_lang(r, String::UL_XML); |
| Value& tagName_code=params->as_junction(0, "tagName must be string"); | |
| const String& tagName=r.process(tagName_code).as_string(); | |
| try { | try { |
| XalanNode *node= | XalanNode *node= |
| Line 109 static void _createTextNode(Request& r, | Line 111 static void _createTextNode(Request& r, |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |
| VXdoc& vdoc=*static_cast<VXdoc *>(r.self); | VXdoc& vdoc=*static_cast<VXdoc *>(r.self); |
| const String& data=params->as_string(0, "data must be string"); | Temp_lang temp_lang(r, String::UL_XML); |
| Value& data_code=params->as_junction(0, "data must be string"); | |
| const String& data=r.process(data_code).as_string(); | |
| XalanNode *node= | XalanNode *node= |
| vdoc.get_document(pool, &method_name). | vdoc.get_document(pool, &method_name). |
| Line 649 static void _transform(Request& r, const | Line 653 static void _transform(Request& r, const |
| // transform | // transform |
| try { | try { |
| // note: | |
| // actually, never found any difference between the two | |
| // but still there some extra "xerces" words at start of transform body | |
| // wich were originally "xalan" | |
| // not daring to change that | |
| if(vdoc.has_parsed_source()) { // set|load, not create? | if(vdoc.has_parsed_source()) { // set|load, not create? |
| vdoc.transformer().transform2( | vdoc.transformer().transform2( |
| vdoc.get_parsed_source(pool, &method_name), | vdoc.get_parsed_source(pool, &method_name), |