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> |