Changeset 25847
- Timestamp:
- 2012-06-28T11:12:17+12:00 (11 years ago)
- Location:
- main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util
- Files:
-
- 2 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 } -
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXSLT.java
r25820 r25847 145 145 { 146 146 Element node = (Element) children.item(i); 147 System.err.println("node name="+node.getNodeName()+", local name="+node.getLocalName()+", uri="+node.getNamespaceURI());148 147 // remove any previous occurrences of xsl:template with the same value for name or match 149 148 String template_match = node.getAttribute("match");
Note:
See TracChangeset
for help on using the changeset viewer.