跳转至内容

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>


华夏公益教科书