跳轉至內容

XML - 資料交換管理/簡介/答案

來自華夏公益教科書,開放的書籍,開放的世界

使用 NetBeans 建立一個描述餐廳的標記檔案。 標記應標識餐廳的名稱和地址以及其專長的食物型別。

提交者:安妮·雷伯恩公主

<restaurant>My favorite restaurant is <restaurantname>Olive Garden</restaurantname>. It is a
chain that has branches all over. I have been to the restaurants in 
<location>Houston</location>, <location>Marietta</location>, and
<location>Alpharetta</location>. They serve <cuisine>Italian</cuisine> food -- my favorite is 
the <dish>Stuffed Chicken Parmigiana</dish>, and I also recommend the
<dish>tiramisu</dish>.</restaurant> 

假設我們想要為一家小型公司建立人事檔案。 我們有哪些資料? 分析以下表格中的資料。 我們的目標是將其轉換為標記檔案。 公司名稱:'Exercises inc.'

提交者:斯特凡·邁耶(團隊 1)

<company>
<company_name>
Exercises inc.
</company_name>
<department>
<department_name>
finance and accounting
</department_name>
<person>
<firstname>Tobias</firstname>
<lastname>Boeswald</lastname>
<street>Laxenburger str. 384</street>
<city>Vienna</city>
<country>Austria</country>
<date_of_birth>02/07/1974</date_of_birth>
<phone_nr>0431/3445346</phone_nr>
<department>finance and accounting</department>
<title>Accountant</title>
</person>
<person>
<firstname>Dimitri</firstname>
<lastname>Felber</lastname>
<street>Neuburger str. 19a</street>
<city>Passau</city>
<country>Germany</country>
<date_of_birth>05/12/1967</date_of_birth>
<phone_nr>00498510/523456</phone_nr>
<department>finance and accounting</department>
<title>CFO</title>
</person>
</department>
<department>
<department_name>
human resources
</department_name>
<person>
<firstname>Stefan</firstname>
<lastname>Meyer</lastname>
<street>Breite Gasse 10</street>
<city>Nuremberg</city>
<country>Germany</country>
<date_of_birth>10/09/1972</date_of_birth>
<phone_nr>00499110/45365</phone_nr>
<department>human resources</department>
<title>HR Manager</title>
</person>
</department>
</company>


華夏公益教科書