Hi again!
I am trying to build a function, whose parameter is 'List'
(DOM_NodeList):
---//
DOM_Node Node_Son;
DOM_NodeList New_Sons;
long Number_Sons;
int i;
Number_Sons = List.getLength();
for (i = 0; i < Number_Sons; i++) {
Node_Son = List.item(i);
if (Node_Son.getNodeType()
If that is true, I am not to care about it anymore.
Thank you very much.
___
Tu correo gratuito en HispaVista - http://www.hispavista.com/altacorreo/
-
To unsub
Thank you everybody.
I only typed two possibilities ("John" and "Tom") only not
to write too much, but the fact is that I've got 9
possibilities, and I do not want to use if-then-else, but
switch-case.
I tested with:
value = attr.getNodeValue().transcode()
if (strcmp(value,"John")==0)...
if (str
Hi!
I'm trying to parse the value of a Node by using this piece
of code:
char *value;
value = attr.getNodeValue().transcode();
switch (value) {
case "John":
printf("Your name is John\n");
break;
case "Tom":
printf("Hello, Tom!\n");