Diff for /parser3/src/classes/xnode.C between versions 1.98 and 1.99

version 1.98, 2023/09/26 20:49:06 version 1.99, 2024/09/11 21:07:36
Line 233  struct AccumulateFoundInfo Line 233  struct AccumulateFoundInfo
 static void AccumulateFound(xmlNode& node, AccumulateFoundInfo* info)  static void AccumulateFound(xmlNode& node, AccumulateFoundInfo* info)
 {  {
         info->hash->put(          info->hash->put(
                 String::Body::Format(info->index++),                   pa_uitoa(info->index++), 
                 &info->vdoc->wrap(node));                  &info->vdoc->wrap(node));
 }  }
 template<typename I> static void  template<typename I> static void
Line 725  static void selectNodesHandler(Request&, Line 725  static void selectNodesHandler(Request&,
                         if(int size=res->nodesetval->nodeNr) {                          if(int size=res->nodesetval->nodeNr) {
                                 HashStringValue& hash=vhash.hash();                                  HashStringValue& hash=vhash.hash();
                                 for(int i=0; i<size; i++)                                  for(int i=0; i<size; i++)
                                         hash.put(                                          hash.put(pa_uitoa(i), &xdoc.wrap(*res->nodesetval->nodeTab[i]));
                                                 String::Body::Format(i),   
                                                 &xdoc.wrap(*res->nodesetval->nodeTab[i]));  
                         }                          }
                 break;                  break;
         default:           default: 

Removed from v.1.98  
changed lines
  Added in v.1.99


E-mail: