Announcement

RDF

Resource Definition Framework,RDF  是以XML為基礎的語言,用來敘述包含在資源中的資訊。資源可以適任何網路上的項目,也就是以一些形式來包含資訊。(出自課本內容)

GML

GML(Geography Markup Language)是由OGC所發展的。GML將內容和先是部分區隔開來,它可以讓不同的應用程式為了不同的目的的重複性使用地理資訊。地理資訊是以feature來描述。feature是由屬性以及幾盒所構成。屬性包跨了名字,型態以及數值等元素。

dtd心得

一開始笨笨的直接把xml丟到IE,

結果很像不會顯示出範例那樣的畫面,

後來才發現要用工具打開,

不過這是提外話,

dtd的語法好像之前學過網頁的語法,

只是dtd很像都是由實體組成,

如果寫太龐大的東西會變的很複雜 就是了。

 

HW4繳交

IP: 140.136.149.111

ID: xml

PS: lab4

上傳檔案以學號當做檔名 ex: ie9XXXXX

若有修改,則在檔尾加上-1、-2…

HW3成績與補交事宜

hw3成績已公佈到iCAN上,同學可以去查詢了~~

以下這幾位同學,請再重傳一次*.mxl原始檔到ftp上:

495511442

495511595

495512068

495512214

495512329

495512446

495512630

ftp的帳號、密碼都跟上次一樣~~

想要補交的同學,也可以再傳到ftp上

due day: 4/9

 

XML助教

HW3上傳之FTP帳號

請將hw3所需上傳之檔案,傳到FTP上

IP: 140.136.149.111    port:21

帳號: xml

密碼: hw3

due day: 3/28

DTD 之W3 SCHOOL 課本補充資料

Elements vs. Attributes

The same:

  • Data can be stored in child elements or in attributes.

THE Differents:

Some of the problems with attributes are:

  • attributes cannot contain multiple values (child elements can)
  • attributes are not easily expandable (for future changes)
  • attributes cannot describe structures (child elements can)
  • attributes are more difficult to manipulate by program code
  • attribute values are not easy to test against a DTD

If you use attributes as containers for data, you end up with documents that are difficult to read and maintain.

Try to use elements to describe data. Use attributes only to provide information that is not relevant to the data.

資料來源:http://www.w3schools.com/

訂閱文章