首頁 |

2010年5月16日 星期日

Lab 27: Using XML and XSLT

1. Register and Download Xray, an XML, XSLT editor and processor.

2. Given the
Listing 1. An XML document representing the results of a soccer tournament

Listing 2. A basic style sheet for the soccer results

use the XSLT as in the Listing 2 to transform the XML file as in the Listing 1.
(archive)

3. View the formatted HTML file.



4. Given the
Listing 1. An XML document representing the results of a soccer tournament
Listing 3. A style sheet that computes team standings


compute the team standings in a table.

5. View the formatted HTML file.

Lab 26: Using XML

1. Register and Download Xray, an XML, XSLT editor and processor. (安裝X-Ray需要本機權限)

2. Given the the XML file and XSLT file ,
use Xray to do the transformation of the XML into HTML.
You have to replace [ with <.

3. View the formatted HTML file.




2010年5月10日 星期一

Lab Hand code a form

Hand code a HTML or use KompoZer to edit an HTML so that the webpage can send a request to Google likehttp://maps.google.com/maps?q=24.9586,+121.24114Use Form CGI that includes action, input, and submit.Try a few different coordinates.





Lab 25 Lab Form and Action

"logic will get you from A to B - imagination will take you anywhere"

How to use Form to invoke a remote service through CGI.

1. Copy the search box of this search page,
inlcuding radio buttons, text input, and submit button.
2. Open your KompoZer HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.

5. Use KompoZer to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.

6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
(See Hint if it does not work.)
7. Save your file on your computer. Run your HTML by Firefox. What do you get?
8. Set method as "post"

9. Run your HTML by Firefox. What do you get?






Homework 5-03-2010

1. 請點選以下中原大學電算中心有獎徵答活動,檢視當中使用了哪些服務的 mash-up?
google docs 的 報表 表單 文件。 

2. Rich Internet Applications 泛指網頁上高度互動性設計,諸如Youtube, Google Maps 等,需要較多的運算與頻寬,請問這些應用是否可能將無障礙設計納入考量,以兼顧視障,肢體障礙,聽障者的需求?
縱然這些應用會吃掉更多的頻寬以及運算,但在現今這科技高度發展的狀況之下,將這些應用把無障礙使用者納入考量相信是沒問題的。可惜的是,再高的互動性也無法使無障礙使用者在youtube上選取的影片得到百分之百的感受。


3. Augmented Reality (on Youtube Video) 目前有哪些研究?是列舉三個研究單位或三項研究的簡介。
Augmented Reality主要是將電腦產生的視覺影像及資訊整合到現實環境的一種應用與技術。目前Augmented Reality技術廣泛的被應用於醫療影像及教育、軍事訓練、工程、建築設計、工業設計、教育、遊戲等。
1.AIM Lab


2.Augmented Reality Lab at York University


3.Magic Vision