- Timestamp:
- 2012-06-28T11:12:17+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXML.java
r25819 r25847 710 710 while (child != null) 711 711 { 712 System.err.println("node name="+child.getNodeName()+", ns="+child.getNamespaceURI());713 712 if (child.getNodeType() == Node.ELEMENT_NODE && child.getNamespaceURI().equals(namespace) && child.getLocalName() != null && child.getLocalName().equals(local_name)) 714 713 { … … 944 943 public static void removeNamedElementNS(Element parent, String namespace_uri, String node_local_name, String attribute_name, String attribute_value) 945 944 { 946 System.err.println("removeNmaedElement "+namespace_uri+node_local_name +attribute_name+attribute_value);947 945 if (attribute_value.equals("")) { 948 946 // it has no identifying attribute, so we can't find any matches … … 953 951 if (old_elem != null) 954 952 { 955 System.err.println("removing "+old_elem.getNodeName());956 953 parent.removeChild(old_elem); 957 954 }
Note:
See TracChangeset
for help on using the changeset viewer.