< prev index next >
jaxp/test/javax/xml/jaxp/unittest/javax/xml/transform/DocumentExtFunc.java
Print this page
*** 28,35 ****
public class DocumentExtFunc {
public static String test(NodeList list) {
Node node = list.item(0);
! return "["+node.getNodeName() + ":" + node.getNodeValue()+"]";
}
}
--- 28,35 ----
public class DocumentExtFunc {
public static String test(NodeList list) {
Node node = list.item(0);
! return "["+node.getNodeName() + ":" + node.getTextContent()+"]";
}
}
< prev index next >