Just tried the following and works fine:
try {
Document doc= new DocumentImpl();
Element root = doc.createElement("person"); // Create Root E
Element item = doc.createElement("name"); // Create element
item.appendChild( doc.createTextNode("Jeff") );
root.appendChild( item ); //
Help,
I'm trying to upgrade to Java Xerces 1.0.3, and following no longer seems to
work:
Document doc = new DocumentImpl();
I need to programmatically build a document and can't find any examples of
way to create Document without parsing a source file. Can anyone shed some
light on what has