Presentasjon lastes. Vennligst vent

Presentasjon lastes. Vennligst vent

 練習 XSL 程式的撰寫 › 了解 XSL 的轉換意義  在 XML 文件中宣告 XSL › fhwang XML Programming 10.

Liknende presentasjoner


Presentasjon om: " 練習 XSL 程式的撰寫 › 了解 XSL 的轉換意義  在 XML 文件中宣告 XSL › fhwang XML Programming 10."— Utskrift av presentasjonen:

1

2  練習 XSL 程式的撰寫 › 了解 XSL 的轉換意義

3  在 XML 文件中宣告 XSL › fhwang XML Programming 10

4  務必先了解 XSL 的運作原理  了解題目所給 XML 文件的結構  了解所欲轉換成的結果 ( 如 HTML 網頁 )  分析 XML 與轉換結果的對應關係  撰寫 XSL 的對應轉換規則  測試 - 除錯 - 修改 - 直到完成

5 以下的範例修改自 :

6 XML FHWANG FHWANG XML FHWANG XML Xsl1 ? Xsl2 ? ???? ????

7 Hello, My Students ???? Hello, My Students

8 大同 李 ??? ??? 大同李 大同 李

9 Hello, My Students. I am your teacher. ???? Hello, My Students. I am your teacher Hello, My Students. I am your teacher

10 ???? I am You are I am You are I am b1 I am b2 I am b3 I am b4 You are d1 I am b5 I am b1 I am b2 I am b3 I am b4 You are d1 I am b5

11 I am I am You are You are ???? I am a1 I am a2 I am a1 I am a2 You are a1 You are a2 You are a1 You are a2

12 Joe Smith is is ???? is is ???? firstname is Joe surname is Smith firstname is Joe surname is Smith source is Joe Smith

13 I am You are She is He is I am You are She is He is ???? You are b1 You are b2 You are b3 You are b4 You are b5 She is c1 She is c2 He is d1 I am a1 I am a2 You are b1 You are b2 You are b3 You are b4 You are b5 She is c1 She is c2 He is d1 I am a1 I am a2

14 I am You are She is He is I am You are She is He is ???? She is c1 She is c2 You are b1 You are b2 You are b3 You are b4 You are b5 She is c2 She is c1 She is c2 You are b1 You are b2 You are b3 You are b4 You are b5 She is c2

15 I am red I am blue I am I am red I am blue I am ???? I am red c1 I am red c2 I am red c3 I am blue c1 I am blue c2 I am blue c3 I am c1 I am c2 I am c3 I am red c1 I am red c2 I am red c3 I am blue c1 I am blue c2 I am blue c3 I am c1 I am c2 I am c3

16 I am red I am I am red I am ???? I am red c1 I am red c2 I am red c3 I am red c1 I am red c2 I am red c3

17 Joe Smith with id: with id: ???? Joe Smith with id: js0034

18 Car: Car: ???? Car: Car: ???? Car: a234 Car: a111 Car: a234 Car: a111 Car: a005

19 I am You are I am You are ???? I am b1 I am b2 I am b3 I am b4 I am b5 You are c1 I am b1 I am b2 I am b3 I am b4 I am b5 You are c1

20 John Josua Charles Alice Martha George I am I am ???? You are You are ???? I am Alice I am Charles I am George I am John I am Josua I am Martha I am Alice I am Charles I am George I am John I am Josua I am Martha You are Martha You are Josua You are John You are George You are Charles You are Alice You are Martha You are Josua You are John You are George You are Charles You are Alice

21 Car: Car: ???? Car: Car: ???? Car: 105 Car: 11 Car: 28 Car: 6 Car: 9 Car: 105 Car: 11 Car: 28 Car: 6 Car: 9 Car: 6 Car: 9 Car: 11 Car: 28 Car: 105 Car: 6 Car: 9 Car: 11 Car: 28 Car: 105

22 I am I am ???? I am I am ???? I am Czech I am cook I am czech I am Took I am took I am Czech I am cook I am czech I am Took I am took I am cook I am czech I am Czech I am took I am Took I am cook I am czech I am Czech I am took I am Took

23 ,, ???? , , ???? A,B,C,D, A,B,C,D

24 I need a pen. I need some paper. I need a pen and some paper I need bread. I need butter. SUMMARY: DATA: SUMMARY: DATA: ???? SUMMARY: I need a pen and some paper DATA: I need a bread. DATA: I need butter. SUMMARY: I need a pen and some paper DATA: I need a bread. DATA: I need butter.

25 125 3aacc qa Q ACD Bingo! Bingo! ???? 125 Bingo! 3aacc Bingo! qa Bingo! Q ACD Bingo! 125 Bingo! 3aacc Bingo! qa Bingo! Q ACD Bingo!

26 First Chapter Second Chapter Subchapter 1 Subchapter 2 Third Chapter Subchapter A Subchapter B sub a sub b Subchapter C ???? 1First Chapter 2Second Chapter 1Subchapter 1 2Subchapter 2 3Third Chapter 1Subchapter A 2Subchapter B 1sub a 2sub b 3Subchapter C

27 First Chapter Second Chapter Subchapter 1 Subchapter 2 Third Chapter Subchapter A Subchapter B sub a sub b Subchapter C ???? 1First Chapter 2Second Chapter 2.1Subchapter 1 2.2Subchapter 2 3Third Chapter 3.1Subchapter A 3.2Subchapter B 3.2.1sub a 3.2.2sub b 3.3Subchapter C 1First Chapter 2Second Chapter 2.1Subchapter 1 2.2Subchapter 2 3Third Chapter 3.1Subchapter A 3.2Subchapter B 3.2.1sub a 3.2.2sub b 3.3Subchapter C

28 First Chapter Second Chapter Subchapter 1 Subchapter 2 Third Chapter Subchapter A Subchapter B sub a sub b Subchapter C ???? 1First Chapter 2Second Chapter 2.ASubchapter 1 2.BSubchapter 2 3Third Chapter 3.ASubchapter A 3.BSubchapter B 3.B.asub a 3.B.bsub b 3.CSubchapter C 1First Chapter 2Second Chapter 2.ASubchapter 1 2.BSubchapter 2 3Third Chapter 3.ASubchapter A 3.BSubchapter B 3.B.asub a 3.B.bsub b 3.CSubchapter C

29 First Chapter Second Chapter Subchapter 1 Subchapter 2 Third Chapter Subchapter A Subchapter B sub a sub b Subchapter C ???? 1:First Chapter 2:Second Chapter 2-1:Subchapter 1 2-2:Subchapter 2 3:Third Chapter 3-1:Subchapter A 3-2:Subchapter B 3-2-a:sub a 3-2-b:sub b 3-3:Subchapter C 1:First Chapter 2:Second Chapter 2-1:Subchapter 1 2-2:Subchapter 2 3:Third Chapter 3-1:Subchapter A 3-2:Subchapter B 3-2-a:sub a 3-2-b:sub b 3-3:Subchapter C

30 Chapter A Chapter B Chapter C Chapter D : / : / ???? Chapter A : 1/4 Chapter B : 2/4 Chapter C : 3/4 Chapter D : 4/4

31 Chapter A Chapter B Chapter C Chapter D Chapter First chapter Last chapter : Chapter First chapter Last chapter : ???? First chapter : Chapter A Chapter : Chapter B Chapter : Chapter C Last chapter : Chapter D

32  透過諸多範例,理解 XSL 程式的撰寫 › 轉換動作順序的控制 › 轉換規則的套用 › 迴圈,排序,條件處理 › 文字轉換函數 › 數字格式編排 › 變數的應用


Laste ned ppt " 練習 XSL 程式的撰寫 › 了解 XSL 的轉換意義  在 XML 文件中宣告 XSL › fhwang XML Programming 10."

Liknende presentasjoner


Annonser fra Google