thanks for the reply, more explicitly this is what I'm doing
DOM_Element cChild = cDoc.createElement("Child");
cParent.appendChild(cChild);
sprintf( szTmp, "%d", nChild );
DOM_Text cChildVal = cDoc.createTextNode(szTmp);
cChild.appendChild(cChildVal);
which is giving me
1
(where nChild=
You haven't shown us enough of your code to be sure what's going on. There
are three possibilities:
1) The content of the Text node you're inserting as a child might end in a
Newline character.
2) There might be a second Text child which contains a newline character.
3) DOMPrint might be tryin
hello,
I've got a problem when outputting my nodes; I get the folling
1
when what I want is
1
I'm doing it using
doc.createElement("a");
then appendchild 1 and this putting the end element on the next line.
I've tried using setNodeValue(1) but I can't get this to work.