Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 3245:dd3ddc8ecb14
Remove HYK references/code from ChartGenerator
flys-artifacts/trunk@4878 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Fri, 06 Jul 2012 09:32:45 +0000 |
parents | 1dca41dba135 |
children | 68320805566a |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Thu Jul 05 19:23:52 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java Fri Jul 06 09:32:45 2012 +0000 @@ -767,7 +767,7 @@ Node theme = (Node) XMLUtils.xpath( tmp, - "art:themes/theme[@facet='" + facet + + "art:themes/theme[@facet='" + facet + "' and @index='" + String.valueOf(index) + "']", XPathConstants.NODE, ArtifactNamespaceContext.INSTANCE); @@ -786,9 +786,6 @@ addThemeToAttribute(uuid, attr, t, context); theme = t.toXML().getFirstChild(); } - /*else { - log.debug("getFacetThemeFromAttribute: " + XMLUtils.toString(theme)); - }*/ Document doc = XMLUtils.newDocument(); doc.appendChild(doc.importNode(theme, true)); @@ -890,7 +887,7 @@ addThemeToAttribute(uuid, attr, t, context); log.debug("initItemAttribute for facet " + facet + ": " + XMLUtils.toString(attr)); - + return attr; }