|
|
| version 1.58, 2003/09/22 11:47:29 | version 1.59, 2003/09/25 09:15:02 |
|---|---|
| Line 327 static void _getElementsByTagName(Reques | Line 327 static void _getElementsByTagName(Reques |
| gulong length=gdome_nl_length(nodes, &exc); | gulong length=gdome_nl_length(nodes, &exc); |
| for(gulong i=0; i<length; i++) | for(gulong i=0; i<length; i++) |
| result.hash().put( | result.hash().put( |
| StringBody::Format(i), | String::Body::Format(i), |
| new VXnode(&r.charsets, gdome_nl_item(nodes, i, &exc))); | new VXnode(&r.charsets, gdome_nl_item(nodes, i, &exc))); |
| } else if(exc) | } else if(exc) |
| throw Exception( | throw Exception( |
| Line 468 static void _getElementsByTagNameNS(Requ | Line 468 static void _getElementsByTagNameNS(Requ |
| gulong length=gdome_nl_length(nodes, &exc); | gulong length=gdome_nl_length(nodes, &exc); |
| for(gulong i=0; i<length; i++) | for(gulong i=0; i<length; i++) |
| result.hash().put( | result.hash().put( |
| StringBody::Format(i), | String::Body::Format(i), |
| new VXnode(&r.charsets, gdome_nl_item(nodes, i, &exc))); | new VXnode(&r.charsets, gdome_nl_item(nodes, i, &exc))); |
| } | } |
| Line 537 static void selectNodesHandler(Request& | Line 537 static void selectNodesHandler(Request& |
| 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( |
| StringBody::Format(i), | String::Body::Format(i), |
| new VXnode( | new VXnode( |
| &r.charsets, | &r.charsets, |
| gdome_xml_n_mkref(res->nodesetval->nodeTab[i]))); | gdome_xml_n_mkref(res->nodesetval->nodeTab[i]))); |
| Line 750 MXnode::MXnode(const char* aname, VState | Line 750 MXnode::MXnode(const char* aname, VState |
| // consts | // consts |
| #define CONST(name) \ | #define CONST(name) \ |
| consts.put(StringBody(#name), new VInt(GDOME_##name)) | consts.put(String::Body(#name), new VInt(GDOME_##name)) |
| CONST(ELEMENT_NODE); | CONST(ELEMENT_NODE); |
| CONST(ATTRIBUTE_NODE); | CONST(ATTRIBUTE_NODE); |