在PersonService的基礎上,加上savePersons(·····),這時的PersonService為:
2、PersonTest
3、Person22.xml
這時生成的person22.xml檔案的内容如下(注意,他不會幫我們把xml檔案格式化):
在PersonService的基礎上,加上savePersons(·····),這時的PersonService為:
2、PersonTest
3、Person22.xml
這時生成的person22.xml檔案的内容如下(注意,他不會幫我們把xml檔案格式化):