|
|
| version 1.6, 2001/10/15 11:48:04 | version 1.7, 2001/10/16 14:43:30 |
|---|---|
| Line 239 static void _removeAttributeNode(Request | Line 239 static void _removeAttributeNode(Request |
| XalanAttr& oldAttr=as_attr(pool, method_name, params, 0, "oldAttr must be ATTRIBUTE node"); | XalanAttr& oldAttr=as_attr(pool, method_name, params, 0, "oldAttr must be ATTRIBUTE node"); |
| try { | try { |
| if(XalanAttr *returnAttr=element.removeAttributeNode(&oldAttr)) { | /*XalanAttr *returnAttr*/element.removeAttributeNode(&oldAttr)); |
| // write out result | |
| VXnode& result=*new(pool) VXnode(pool, returnAttr); | |
| r.write_no_lang(result); | |
| } | |
| } catch(const XalanDOMException& e) { | } catch(const XalanDOMException& e) { |
| pool.exception()._throw(pool, &method_name, e); | pool.exception()._throw(pool, &method_name, e); |
| } | } |