Translate code that leaves a node's namespace URI (as a String)
on the stack
final ConstantPoolGen cpg = classGen.getConstantPool();
final InstructionList il = methodGen.getInstructionList();
// Returns the string value for a node in the DOM
final int getNamespace = cpg.addInterfaceMethodref(DOM_INTF,
"getNamespaceName",
"(I)"+STRING_SIG);
super.translate(classGen, methodGen);
il.append(new INVOKEINTERFACE(getNamespace, 2));