|
|
| version 1.2, 2001/09/26 15:43:59 | version 1.5, 2001/10/11 14:58:15 |
|---|---|
| Line 61 static void _select(Request& r, const St | Line 61 static void _select(Request& r, const St |
| result.set_name(method_name); | result.set_name(method_name); |
| r.write_no_lang(result); | r.write_no_lang(result); |
| } catch(const XSLException& e) { | } catch(const XSLException& e) { |
| r._throw(&expression, e); | pool.exception()._throw(pool, &expression, e); |
| } | } |
| } | } |
| Line 92 static void _select_single(Request& r, c | Line 92 static void _select_single(Request& r, c |
| r.write_no_lang(result); | r.write_no_lang(result); |
| } | } |
| } catch(const XSLException& e) { | } catch(const XSLException& e) { |
| r._throw(&expression, e); | pool.exception()._throw(pool, &expression, e); |
| } | } |
| } | } |
| Line 105 MXnode::MXnode(Pool& apool) : Methoded(a | Line 105 MXnode::MXnode(Pool& apool) : Methoded(a |
| // ^node.select[/some/xpath/query] = hash $.#[dnode] | // ^node.select[/some/xpath/query] = hash $.#[dnode] |
| add_native_method("select", Method::CT_DYNAMIC, _select, 1, 1); | add_native_method("select", Method::CT_DYNAMIC, _select, 1, 1); |
| // ^node.select-single[/some/xpath/query] = first dnode | // ^node.selectSingle[/some/xpath/query] = first dnode |
| add_native_method("select-single", Method::CT_DYNAMIC, _select_single, 1, 1); | add_native_method("selectSingle", Method::CT_DYNAMIC, _select_single, 1, 1); |
| // consts | // consts |
| Line 127 MXnode::MXnode(Pool& apool) : Methoded(a | Line 127 MXnode::MXnode(Pool& apool) : Methoded(a |
| CONST(NOTATION_NODE, 12); | CONST(NOTATION_NODE, 12); |
| } | } |
| // global variable | // global variable |
| Methoded *Xnode_class; | Methoded *Xnode_class; |