'GetChildNodes' is not a member of 'DOM_Node'

2001-06-19 Thread XML MAN
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()

Re: getNodeValue().transcode() - Explanation

2001-06-18 Thread XML Man
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

getNodeValue().transcode() - Explanation

2001-06-18 Thread XML Man
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

getNodeValue().transcode()

2001-06-18 Thread XML Man
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");