Appearance
XML 格式
可扩展、标签化、结构化数据格式。

使用示例
xml
<?xml version="1" encoding="UTF-8"?>
<database-config>
<connection-pool name="主库" type="MySQL">
<host>localhost</host>
<port>3306</port>
<database>main_db</database>
</connection-pool>
<connection-pool name="从库" type="MySQL">
<host>localhost</host>
<port>3307</port>
<database>replica_db</database>
</connection-pool>
</database-config>