|
|
| version 1.7, 2001/09/30 12:06:04 | version 1.8, 2001/10/05 11:21:10 |
|---|---|
| Line 287 static void add_xslt_param(const Hash::K | Line 287 static void add_xslt_param(const Hash::K |
| XalanDOMString(attribute_cstr), | XalanDOMString(attribute_cstr), |
| XalanDOMString(meaning_cstr)); | XalanDOMString(meaning_cstr)); |
| } | } |
| static void _xslt(Request& r, const String& method_name, MethodParams *params) { | static void _transform(Request& r, const String& method_name, MethodParams *params) { |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |
| VXdoc& vdoc=*static_cast<VXdoc *>(r.self); | VXdoc& vdoc=*static_cast<VXdoc *>(r.self); |
| Line 425 MXdoc::MXdoc(Pool& apool) : MXnode(apool | Line 425 MXdoc::MXdoc(Pool& apool) : MXnode(apool |
| // ^xdoc::load[some.xml] | // ^xdoc::load[some.xml] |
| add_native_method("load", Method::CT_DYNAMIC, _load, 1, 1); | add_native_method("load", Method::CT_DYNAMIC, _load, 1, 1); |
| // ^xdoc.xslt[stylesheet file_name] | // ^xdoc.transform[stylesheet file_name] |
| // ^xdoc.xslt[stylesheet file_name;params hash] | // ^xdoc.transform[stylesheet file_name;params hash] |
| add_native_method("xslt", Method::CT_DYNAMIC, _xslt, 1, 2); | add_native_method("transform", Method::CT_DYNAMIC, _transform, 1, 2); |
| // ^xdoc.getElementById[elementId] | // ^xdoc.getElementById[elementId] |
| add_native_method("getElementById", Method::CT_DYNAMIC, _getElementById, 1, 1); | add_native_method("getElementById", Method::CT_DYNAMIC, _getElementById, 1, 1); |