Subversion Repositories SmartDukaan

Rev

Rev 8261 | Rev 8938 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8261 Rev 8266
Line 445... Line 445...
445
		
445
		
446
		xmlSnippet.add(this.xmlIndentation[indent] + "<Facet ID=\"" + expFacetDef.getID() + "\" Label=\"" + target + "\">");
446
		xmlSnippet.add(this.xmlIndentation[indent] + "<Facet ID=\"" + expFacetDef.getID() + "\" Label=\"" + target + "\">");
447
		
447
		
448
		//<Value>Candybar</Value>
448
		//<Value>Candybar</Value>
449
		for(Object value : values) {
449
		for(Object value : values) {
450
			xmlSnippet.add(this.xmlIndentation[indent + 1] + "<Value>" + value.toString() + "</Value>");
450
			xmlSnippet.add(this.xmlIndentation[indent + 1] + "<Value>" + StringEscapeUtils.escapeXml(value.toString()) + "</Value>");
451
		}
451
		}
452
		
452
		
453
		//</Facet>
453
		//</Facet>
454
		xmlSnippet.add(this.xmlIndentation[indent] + "</Facet>");
454
		xmlSnippet.add(this.xmlIndentation[indent] + "</Facet>");
455
		
455