public Document run() throws ParserConfigurationException, IOException, SAXException, TransformerException {
        DocumentBuilder docBuilder = XML.getDocumentBuilder();
        Document document = docBuilder.parse(new InputSource(xmlInput));
        return execute(document);
    }
A preprocessor for services.xml files that handles deploy:environment, deploy:region, preprocess:properties, preprocess:include
and create a new Document which is based on the supplied environment and region

@author hmusum
config-application-package/src/main/java/com/yahoo/config/application/XmlPreProcessor.java