H
howachen
Consider the following 2 XML formats, which style you prefer?
1.
<Server>
<property name="host" value="192.168.11.2" />
<property name="database" value="test" />
<property name="user" value="user" />
<property name="password" value="password" />
</Server>
2.
<Server>
<host>192.168.11.2"</host>
<database>test</database>
<user>user</user>
<password>password</password>
</Server>
1.
<Server>
<property name="host" value="192.168.11.2" />
<property name="database" value="test" />
<property name="user" value="user" />
<property name="password" value="password" />
</Server>
2.
<Server>
<host>192.168.11.2"</host>
<database>test</database>
<user>user</user>
<password>password</password>
</Server>