+ "selector");
selectorDomNode.setAttributeNS(null, "xpath", selectorXPathStr);
idConsDomNode.appendChild(selectorDomNode);
for (int fieldIdx = 0; fieldIdx < idCons.getFieldCount(); fieldIdx++) {
Field field = idCons.getFieldAt(fieldIdx);
String fieldXpathStr = field.getXPath().toString();
Element fieldDomNode = document.createElementNS(XSD_LANGUAGE_URI,
XSD_LANGUAGE_PREFIX
+ "field");
fieldDomNode.setAttributeNS(null, "xpath", fieldXpathStr);
idConsDomNode.appendChild(fieldDomNode);