new QName("@" + node.getLocalName(), node.getNamespaceURI(), node.getPrefix());
new QName(node.getLocalName(), node.getNamespaceURI(), node.getPrefix()); qname.setNameType(ElementValue.ATTRIBUTE);
	public void removeNode(final NodeImpl node, String currentPath) {		final IndexPaths idx =			(IndexPaths) idxPathMap.get(node.getOwnerDocument().getDoctype().getName());		final DocumentImpl doc = (DocumentImpl) node.getOwnerDocument();		final long gid = node.getGID();		final short nodeType = node.getNodeType();		final String nodeName = node.getNodeName();		new DOMTransaction(this, domDb, Lock.WRITE_LOCK) {			public Object start() {				final long address = node.getInternalAddress();				if (address > -1)					domDb.remove(new NodeRef(doc.getDocId(), node.getGID()), address);				else					domDb.remove(new NodeRef(doc.getDocId(), node.getGID()));				return null;			}		}		.run();		final NodeProxy tempProxy = new NodeProxy(doc, gid, node.getInternalAddress());		QName qname;		switch (nodeType) {			case Node.ELEMENT_NODE :				// save element by calling ElementIndex				elementIndex.setDocument(doc);				elementIndex.addRow(node.getQName(), tempProxy);				break;			case Node.ATTRIBUTE_NODE :				elementIndex.setDocument(doc);				qname =					new QName("@" + node.getLocalName(), node.getNamespaceURI(), node.getPrefix());				elementIndex.addRow(qname, tempProxy);				// check if attribute value should be fulltext-indexed				// by calling IndexPaths.match(path) 				if (idx == null					|| (idx.getIncludeAttributes() && idx.match(currentPath + "/@" + nodeName)))					textEngine.storeAttribute(idx, (AttrImpl) node);				// if the attribute has type ID, store the ID-value				// to the element index as well				if (((AttrImpl) node).getType() == AttrImpl.ID) {					qname = new QName("&" + ((AttrImpl) node).getValue(), "", null);					elementIndex.addRow(qname, tempProxy);				}				break;			case Node.TEXT_NODE :				// check if this textual content should be fulltext-indexed				// by calling IndexPaths.match(path)				if (idx == null || idx.match(currentPath))					textEngine.storeText(idx, (TextImpl) node);				break;		}	}