Synchrotron based NEXAFS study on nitrogen doped hydrothermal carbon: Insights into surface functionalities and formation mechanisms. (April 2017)