Diff for /parser3/src/classes/xdoc.C between versions 1.2 and 1.4

version 1.2, 2001/09/26 15:43:59 version 1.4, 2001/09/27 07:54:58
Line 345  static void _getElementById(Request& r, Line 345  static void _getElementById(Request& r,
                 r.write_no_lang(result);                  r.write_no_lang(result);
         }          }
 }  }
   /*
 static void _getElementsByTagName(Request& r, const String& method_name, MethodParams *params) {  static void _getElementsByTagName(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 399  static void _getElementsByTagNameNS(Requ Line 399  static void _getElementsByTagNameNS(Requ
         // write out result          // write out result
         r.write_no_lang(result);          r.write_no_lang(result);
 }  }
   */
 // constructor  // constructor
   
 MXdoc::MXdoc(Pool& apool) : MXnode(apool) {  MXdoc::MXdoc(Pool& apool) : MXnode(apool) {
Line 429  MXdoc::MXdoc(Pool& apool) : MXnode(apool Line 429  MXdoc::MXdoc(Pool& apool) : MXnode(apool
   
         // ^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);
           /*      
         // ^xdoc.getElementById[tagname]          // ^xdoc.getElementsByTagName[tagname]
         add_native_method("getElementsByTagName", Method::CT_DYNAMIC, _getElementsByTagName, 1, 1);          add_native_method("getElementsByTagName", Method::CT_DYNAMIC, _getElementsByTagName, 1, 1);
   
         // ^xdoc.getElementsByTagNameNS[namespaceURI;localName] = array of nodes          // ^xdoc.getElementsByTagNameNS[namespaceURI;localName] = array of nodes
         add_native_method("getElementsByTagNameNS", Method::CT_DYNAMIC, _getElementsByTagNameNS, 2, 2);          add_native_method("getElementsByTagNameNS", Method::CT_DYNAMIC, _getElementsByTagNameNS, 2, 2);
   */
 }  }
 // global variable  // global variable
   

Removed from v.1.2  
changed lines
  Added in v.1.4


E-mail: