how to populate a text node
public class DOMGenerate{
public static void main{ String() argv ) {
try{
Document doc= new DocumentDmpl();
element root = doc.createElelment("person"); //Create Root
element item = doc.createElement("name");//Create element
item.appendChild( doc.createTextNode(GetNameFromBD()) );
root appendChild( item); // Attach the results of the query as a text node to element name
thanx,
bill