jbasko / configmanager

Forget about configparser, YAML, or JSON parsers. Focus on configuration. NOT RECOMMENDED FOR USE (2019-01-26)
MIT License
17 stars 5 forks source link

XML format #152

Open jbasko opened 7 years ago

jbasko commented 7 years ago

Something generic where you can just specify the root element's xpath and then have this:

<config>
<uploads>
  <threads>1</threads>
  <enabled>true</enabled>
  <db>
    <user>root</user>
    <password>secret</password>
  </db>
</uploads>
</config>

XML could also easily support meta information through attributes:

<enabled type="boolean">true</enabled>
<password required="true" />