Hi,
you have to create a new text node and append it to the element node.
Document doc=...;
Element elem=...; // contains e.g. element <Service>
elem.appendChild(doc.createTextNode("aService"));
The result is an element <Service>aService</Service>.
Regards, Bj�rn.
>Thanx both of you it seems to work, but how do I set nodeValue then?
>
>/ Jess
>
>---
>Jess Nielsen
>Management Consultant / System Developer
>
>Ementor Denmark A/S
>E-mail: [EMAIL PROTECTED]
>Phone: (+45) 24 69 35 81
> (+45) 70 10 08 44
>
>WTF? :o)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]