title: Not able to read the Tridion custom config xml file node values in custom deployer extension code
body: <p>My below code was working fine in Tridion 2009 and recently we migrated to Tridion 2011, below code written in java.</p>
  
  <p><strong>Getting the file:</strong>
  ExtensionsConfiguration.java</p>
  
  <pre><code>package com.tridion.custom.extensions;
  
  import com.tridion.configuration.Configuration;
  import com.tridion.configuration.ConfigurationException;
  import com.tridion.configuration.XMLConfigurationReader;
  import org.slf4j.Logger;
  import org.slf4j.LoggerFactory;
  
  public class ExtensionsConfiguration
  {
    private static Logger logger = LoggerFactory.getLogger(ExtensionsConfiguration.class);
    private static Configuration configuration;
  
  
    public static Configuration getInstance()
    {
      if (configuration == null)
        try
        {
          XMLConfigurationReader localXMLConfigurationReader = new XMLConfigurationReader();
          configuration = localXMLConfigurationReader.readConfiguration("cd_deployer_ext.xml");
          logger.info("ExtensionsConfiguration.getInstance:File Read",configuration.getContent());
        }
        catch (ConfigurationException localConfigurationException)
        {
          logger.error("ExtensionsConfiguration.ConfigurationException: Unable to read configuration.", localConfigurationException);
        }
        catch (Exception ex)
        {
          logger.error("ExtensionsConfiguration.Exception: Unable to read configuration.", ex.getStackTrace());
        }
      return configuration;
    }
  
  }
  </code></pre>
  
  <p>In above code I am trying to read the "cd_deployer_ext.xml" which is placed inside %TRIDION_HOME%/config and above code was working fine in in 2009.</p>
  
  <p><strong>Sample Format of cd_deployer_ext.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Configuration&gt;
      &lt;DeployerCustomization Enable="true" Extension=".aspx" FilePath="F:\WWW\GoogleDataFiles\"&gt;&lt;/DeployerCustomization&gt;
  &lt;/Configuration&gt;
  </code></pre>
  
  <p>Here is way how I am trying to read the values from this file</p>
  
  <p><strong>Reading the values:</strong> PageDeployer.java
  Below sample code which I am using to read the values from ExtensionsConfiguration.java</p>
  
  <pre><code>Configuration configData = ExtensionsConfiguration.getInstance();
  String extensionFromFile = ConfigurationHelper.getStringValue(configData,"Configuration/DeployerCustomization/Extension", null);
  </code></pre>
  
  <p>Now extensionFromFile should give me the ".aspx".</p>
  
  <p>Please suggest!!</p>
  
  <p>Thanks.</p>