public final static Document create(String input) 
		throws CreateDocException {
		try {
			
			DocumentBuilderFactory dbf= DocumentBuilderFactory.newInstance();
			DocumentBuilder db= dbf.newDocumentBuilder();
			return db.parse(new InputSource(new StringReader(input)));
			
		} catch (ParserConfigurationException e) {
			throw new CreateDocException("ParserConfigurationException "+e.getMessage(), e);
		} catch (SAXException e) {
			throw new CreateDocException("SAXException "+e.getMessage(), e);
		} catch (IOException e) {
			throw new CreateDocException("IOException "+e.getMessage(), e);
		} catch(FactoryConfigurationError e) {
			throw new CreateDocException("FactoryConfigurationError "+e.getMessage(), e);
		} catch (Exception e) {
			throw new CreateDocException("Exception "+e.getMessage(), e);
		}
	}