--- parser3/src/classes/xnode.C 2020/12/15 17:10:29 1.97 +++ parser3/src/classes/xnode.C 2024/09/11 21:07:36 1.99 @@ -1,8 +1,8 @@ /** @file Parser: @b dom parser class. - Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #include "classes.h" #ifdef XML @@ -21,7 +21,7 @@ #include "libxml/xpath.h" #include "libxml/xpathInternals.h" -volatile const char * IDENT_XNODE_C="$Id: xnode.C,v 1.97 2020/12/15 17:10:29 moko Exp $" IDENT_XNODE_H; +volatile const char * IDENT_XNODE_C="$Id: xnode.C,v 1.99 2024/09/11 21:07:36 moko Exp $" IDENT_XNODE_H; // classes @@ -233,7 +233,7 @@ struct AccumulateFoundInfo static void AccumulateFound(xmlNode& node, AccumulateFoundInfo* info) { info->hash->put( - String::Body::Format(info->index++), + pa_uitoa(info->index++), &info->vdoc->wrap(node)); } template static void @@ -725,9 +725,7 @@ static void selectNodesHandler(Request&, if(int size=res->nodesetval->nodeNr) { HashStringValue& hash=vhash.hash(); for(int i=0; inodesetval->nodeTab[i])); + hash.put(pa_uitoa(i), &xdoc.wrap(*res->nodesetval->nodeTab[i])); } break; default: