title: How could I read a properties file and insert data into XML file?
body: <p>I have a properties file with data to connect with database. Also, I have a hibernate config file. I would like to config the hibernate file with properties from properties file. How could I read the properties and insert them into XML file? I can read the properties via System.getProperty(name).</p>
  
  <p>Thanks!</p>