XMLInputFactory.newInstance().createXMLStreamReader(
new StringReader(xqItem.getItemAsString())));
OMElement resultOM = builder.getDocumentElement();
if (resultOM != null) {
//replace the target node from the result
destination.insertSiblingAfter(resultOM);
destination.detach();
}
} else if (XQItemType.XQBASETYPE_INTEGER == baseType ||
XQItemType.XQBASETYPE_INT == baseType) {
//replace the text value of the target node by the result ,If the result is