how to populate a text node
foo=`sqlplus select * from name where lastname='bar'`
public class bla bla
try{
Document doc= new DocumentDmpl();
element root = doc.createElelment("person"); //Create Root
element item = doc.createElement("name);//Create element
item.appendChild( doc.createTextNode("foo") );
root appendChild( item); // blabla
how does the program know to stuff the contents of foo("bar") as opposed to the text string foo?
thanx,
bill