IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New another newbie xml question
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
attempting to explain profiling doesn't require one to take a position for or against it any more than attempting to explain gravity requires one to be for or against gravity. Walter Williams
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]Element root
New Is this Java?
And was that Boxlish? I don't get the question...
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New java, the instructor answered me this way
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
attempting to explain profiling doesn't require one to take a position for or against it any more than attempting to explain gravity requires one to be for or against gravity. Walter Williams
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New Oh, right, for a class you're taking.
Otherwise I would have said, "use JDOM". :-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
     another newbie xml question - (boxley) - (3)
         Is this Java? - (admin) - (2)
             java, the instructor answered me this way - (boxley) - (1)
                 Oh, right, for a class you're taking. - (admin)

Such twisted irony.
61 ms