Well, I'm running 1.4.2 and when I look at the JavaDoc, I don't see any such method for a node.The usual way to create text in an element (the equivalent of having
Receiving) is: Element runTypeElement = doc.createElement( "Run-Type" );
Text text = doc.createTextNode();
text.setData( "Receiving" );
runTypeElement.addChild( text );
resoure:
http://forum.java.sun.com/thread.jspa?threadID=667593&messageID=3905410
No comments:
Post a Comment