XML - 資料交換管理/簡介/答案
外觀
(重定向自 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> |