|
|
| version 1.99, 2024/09/11 21:07:36 | version 1.100, 2024/09/13 04:01:22 |
|---|---|
| Line 95 private: | Line 95 private: |
| xmlNode& as_node(MethodParams& params, int index, const char* msg) { | xmlNode& as_node(MethodParams& params, int index, const char* msg) { |
| Value& value=params.as_no_junction(index, msg); | Value& value=params.as_no_junction(index, msg); |
| if(Value* vxnode=value.as(VXNODE_TYPE)) | if(VXnode* vxnode=dynamic_cast<VXnode*>(&value)) |
| return static_cast<VXnode*>(vxnode)->get_xmlnode(); | return vxnode->get_xmlnode(); |
| else | else |
| throw Exception(PARSER_RUNTIME, | throw Exception(PARSER_RUNTIME, 0, msg); |
| 0, | |
| msg); | |
| } | } |
| xmlChar* as_xmlchar(Request& r, MethodParams& params, int index, const char* msg) { | xmlChar* as_xmlchar(Request& r, MethodParams& params, int index, const char* msg) { |