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 trying to be "helpful" and inserting a newline before
the end tag.

If you're sure it isn't (1) or (2), check DOMPrint's code for (3).


(Note: you CAN NOT set the nodeValue of an Element. The DOM defines that as
always being null, since the content could be a complex subtree.)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to