OMElement sqlEl = fac.createOMElement("sql", null);
sqlEl.setText(this.getSql().trim());
queryEl.addChild(sqlEl);
} else if (this.getSparql() != null) {
OMElement sparqlEl = fac.createOMElement("sparql", null);
OMTextImpl omText = (OMTextImpl) fac.createOMText(this.getSparql());
omText.setType(XMLStreamConstants.CDATA);
sparqlEl.addChild(omText);
queryEl.addChild(sparqlEl);
} else if (this.getExcel() != null) {
queryEl.addChild(this.getExcel().buildXML());