public Element appendAt(String parentPath, String prefix, String name, Map<String, String> namespaces) throws Exception {
		Element output = null;
		
		Node parent = Utilities.selectSingleNode(this.doc, parentPath, this.namespaces);
		
		String uri = null;
		if(!Utilities.isNullOrWhitespace(prefix) && namespaces != null) {
			uri = namespaces.get(prefix);
		}
		
		if(uri != null) {
			output = this.doc.createElementNS(uri, name);
			output.setPrefix(prefix);
		} else {
			output = this.doc.createElement(name);
		}
			
		if(output != null) {
			parent.appendChild(output);
		}
		
		return output;
	}