xml version database goods num num price 1000 price availability avail

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<?xml version="1.0"?>
<database>
<goods>
<num>1</num>
<price>1000</price>
<availability>1</availability>
</goods>
<goods>
<num>2</num>
<price>2000</price>
<availability>1</availability>
</goods>
<goods>
<num>3</num>
<price>3000</price>
<availability>0</availability>
</goods>
</database>