Unicode

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Unicode as PDF for free.

More details

  • Words: 14,523
  • Pages: 128
P¾• XML z æ% z

Ëw€ ®‡ www.2tigers.net Ð) ˆ;*2¥ www.ufoc.com.tw#QÃ

Many of the designations used by the manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the author was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Íh/ZXèC2¥C®`(Ìí &Xò2¥Xb

ÍhP»ÝPDCXbã®ïèºìµ8›í Šãœ¹ð8›™m!ñ ¢1iXbP4KB®ï¼T¼æãn?Ž¬³‘3Xp¹u.¸à‚à #T

#CW£]ö´ÙЪ×6¡Œã¸àH®ïÐ.

Íhã®ï| PDFLATEX¤g CJK 3 Linux ¿¬î%®W

c Copyright 1999 by Lao Hu and Two-Tigers Workshop. All rights reserved.

ÍhCXbŠËw€ çììµ8›ÌJíòz CËw€ ®‡Xb3ý€ Œ 1¹hJP[ã¢ðà¬v®¤¼ˆ¿àHÝGè읊ã3 Internet îFµ⤼Â×Ýçìõé 3hÚ ˆ¿P²h²ÎB®ïÍ ßh«!ŒG/DÄ Internet |²¢Fꪛ‘À¬G§y à h° ŽÓ*‡|JTI5P%»µ

\Íß ÑT^n.l0œmŠŠã|^ Š T€ß†K° W`ÿày¤¼ˆ¿àH!`ÿ'¸àï[ã¢ðà

ÍhŠ›å»j½®J2°1®ï1º×6°Ÿ_åJ

¯Þhh¤›

lÁ>0jÞ º›ˆÞ

ÒÁ||¦(¿{¯

ê 

¶3G«

xiii

0.1 ¶9Íhݛ^ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii 0.2 \ïTÌnÝÁ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii 0.3 ÍhX¸àÝBrýî° . . . . . . . . . . . . . . . . . . . . . . . . . . xiv 0.4 A¢ŸàhÝ&4 . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv 0.5 þ8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi 0.6 t¡ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi 1 +Û XML

1

1.1 %‚Š. XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1 n ¼Ý HTML

1

. . . . . . . . . . . . . . . . . . . . . . . . . . .

1

1.1.2 XML G¼Š= . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

1.1.3 XML Ý8÷P . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

1.2 XML Æ6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

1.3 XYZ Ýb(Þº™ — XML Tà@» . . . . . . . . . . . . . . . . . . . . 13 1.3.1 ó. ML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.3.2 Šî™= . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

v

ê  1.3.3 Flash lW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.3.4 XSL

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

1.3.5 bø°8nÝçì . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.3.6 ¸à+« ¯'

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

1.3.7 £Š8÷ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.4 àÎ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2 XML +°r 

21

2.1 Gu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.2 -ôòP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.3 ۊ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.4 Tþ݊—

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

2.5 XML ZÄŠ5C}6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.1 Xb-ôKŠÑ@2nT . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.2 ý„

ÿøü . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

2.5.3 XbòPKÿ‘îSr . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.5.4 ̀! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.6 |° J . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.7 ¶b5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2.8 CDATA   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2.9 ×èËè! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2.10 PI ø!#” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.11 ¢œ¢ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3 Unicode 15€

35

3.1 Unicode + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

vi

ê  3.2 CÒ»Y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.3 ”||ÝÞ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.3.1 Unicode Ýè

5g . . . . . . . . . . . . . . . . . . . . . . . . 40

3.3.2 UTF-8 Ý_Dæ§õ©P . . . . . . . . . . . . . . . . . . . . . . . . 40 3.3.3 UTF-8 Ý8F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.3.4 UTF-8 ÝþF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.3.5 UTF-16 ݂§E . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.3.6 {à  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4 XML ;õ

45

4.1 CSS á . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 4.1.1 óCP (selector) . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 5 (Ìè

47

5.1 %‚mŠ(Ìè 5.2 (Ìè

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Ý . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

5.2.1 ýîÎ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 5.2.2 URL  URN  URI — ½¢ZWÝ . . . . . . . . . . . . . . . . . . 51 5.2.3 (Ìè 5.3 (Ìè

@» . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Ý…× . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

5.3.1 GHC™ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.4 (Ìè

ÝP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

5.5 ï'Ý(Ìè

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

5.5.1 ï'è

PÐ)ºà . . . . . . . . . . . . . . . . . . . . . . . 57

6 ì×‚Ý HTML — XHTML

61

6.1 %‚Î XHTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

vii

ê  6.2 XHTML ÿ%‚ø . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 6.3 %‚mŠ XHTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.1 HTML Ý2Í . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.2 XHTML — ɝDßyêP§;¨ . . . . . . . . . . . . . . . 64 6.4 XHTML õ HTML 4.0 Ý-½ . . . . . . . . . . . . . . . . . . . . . . . . . . 66 6.4.1 XHTML Q ê . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 6.4.2 }PÑ@æJE HTML ݎ\ . . . . . . . . . . . . . . . . . . . . . 67 6.4.3 l?™JµA . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.4.4 ̀!¯4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 6.5 XHTML — Õ9› : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 6.6 ¢ìW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.6.1 HTML Tidy ¸à]° . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.7 t¡ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 7 XSLT — XML ÝòÝ»ð+

79

7.1 ¨×Ëø! — XSL + . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 7.1.1 XSL õ CSS !Ý2] . . . . . . . . . . . . . . . . . . . . . . . . 80 7.1.2 XSL õ CSS 8!Ý2] . . . . . . . . . . . . . . . . . . . . . . . . 80 7.1.3 XSL ª . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 7.2 XSLT á . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 7.2.1 XSLT 3ç­îÝTàÿP . . . . . . . . . . . . . . . . . . . . . . . 82 7.2.2 XSLT Ý»ðøC ®æ§ . . . . . . . . . . . . . . . . . . . . . . 84 7.2.3 Yî XSL Ý8› . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 7.3 ޗ XSLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 7.3.1 W`ï . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 7.3.2 XSL ø!(Ìè

viii

. . . . . . . . . . . . . . . . . . . . . . . . . . 89

ê 

7.3.3 ÙW5Š . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 7.3.4 q-ôîb×ù . . . . . . . . . . . . . . . . . . . . . . . . . . 92 7.3.5 XSLT º•Þ;

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

7.3.6 !òPÂÿ”"

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

7.3.7 íŒZCD'

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

7.4 XPath ­5à–+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 7.5 ð Ý — @®‰Y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 7.5.1 xt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 7.5.2 ε IE5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 8 DTD — XML +ˆÝL

107

8.1 tE DTD Ý:ô . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 8.1.1 W`ï . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 8.2 -ôv½…× . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 8.2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 8.2.2 Œ¨g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 8.3 òPv½…× . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 8.4 ÙÙwÕ×R — Zv½…× . . . . . . . . . . . . . . . . . . . . . . . . 111 8.5 ”+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

ix

ê 

x

ny®ï

z

Ó³›Îô*†Ý çìI*ÝJ)ºà!Ý4ê‘À XML  Java  Perl £]0ÙHõ餙 ºY+Ž.}ÿÔç­öò™Ñ¼3YHçÑL™˜Ë Perl FAQ 3 Run!PC Ó*…¶Ýû xÑ+¯ZCI½Ý€͕4 ŠQ+ŽQß +ŽXÚS€  3 1996 OxñL™PÝËw€ ç슌Ýt&îPóºß3çìѧõ ç°'Œ]«Ý¶pÓ½

xi

ê 

xii

¶3G« 0.1

¶9Íhݛ^

¨3Ñ XML I*s"Ýj#$ðt&î&8›2¥Pš•ÝN¯Š Ý ®`«¤î9°—¬ ½N͗]±I*ÝÕ¼e¡K²žÝ×Í2Í£µ ÎZÝç­¾??.+ŽZCÝâb‚P°ñDzåÕ94±I*Xñ¼ Ý-¿ XML Î×ÍμÝç­t&ۋyßv^ðßþñ¼¬úP; Ý8ˆI *9g&Ëݜ:Õ&Æ39]«ê . . . .h&Rݶ9ÍhÝF&¬X¶×Í XML Ýh¯ç­îÝZßý ôaß¡\²åÕ¸Ý? ?ñŠ¶Œ×Í|ZTà ôC¬ /Ñ@‚vȱ«ÿî XML ^±`²Ýs"XMÝh !ø¥ŠÝÎ9ÍhÄ6¯XbE XML b×!ÝçBKœD|">2ã ÿŠ¾Õ9ÍêÝ9Ä6Î×͹ðìµÝéh¬¹ð¬î35²6Ý] «ºÆ5X — 8D29Íh|`ì#Ý PDF }PÞT%®ÑÎ3ÇKîå \T|^ŒK“ÿt·Ý[ŒÞéhÝ©PsìÕÁ‹

0.2

\ïTÌnÝÁ

3. XML G˜È t?E HTML ý¥+bÃÍÝ-IAŒ›W¶Ä HTML } (tables) J??hEXbà®P»Ý HTML Dí®Ü²ŠÕ

xiii

¶3G« h²ÍhÞèÕ×°òy XML ¬õ XML >>8nÝI*‘À CSS õ DOMAŒ Ìn CSS ÝÃÍÃFJÞºœbQÃǸ ^àÄ CSSô àHHTÍhÞºèº×ð CSS á

0.3

ÍhX¸àÝBrýî°

• ¥ŠÝÝb(ÞÏ×gŒ¨`/| ä‘Ç ‰ (marker) [Œ î • Z­Š©½úŸÝ2]ן|E›î • P»õæD|ÆC^C›CourierÓ¨A <®Î> ?t&

h²hLæÝ×°oo!`g)î×°ÝÐrA[  A ‡à ¼èø×°¥Œ¯4Tèº@àÝF9°ooÏ€Ý Õ`Î×:µU3 hmŠ¾•ðS»9®1€¯h( æ

0.4

A¢ŸàhÝ&4

9Íh3_4îTàÕ&9 PDF Z©bÝ-¿‘Àh„õø=” h„ PDF XÛÝ5h„6µÎ à PDF å\

Acrobat Reader ‡×Æ

9ÍhÝ`Î3¼W\X:ÕÝ£ÍWϔxê1 ÍhÝh„3ZÌÝ Acrobat Reader |Ñ@2•î‹y3̀+ŽÝå\

õ®¼Ù9

ìAŒg)PÁÏ×vÝ8›TŒôÑ@2•¨Œ¼ 1

9õp

xiv

Ýh„bX!ô¯¸àï.Š ‡KÝ PDF °«xÕh„…

0.4

A¢ŸàhÝ&4

/Zøü#” Z8!¢Ý#”ן|ä‘î 3é\îà#å\9Íh Ý`Ν|à9°#”. ñÕh̀2] G«ÀêÝ&Ía;4 êZaÝÛXC&!!%Ý_rí|/I#”]PÓ¨]-\ï ãå N hèÕ¥ŠÝÝb(Þ`AŒ9Í(Þ3h̀2]b©½ŠÕÝ • º3å#½Œ(Þ¡:Õ×Íä‘Ý#”5ËË a;#” A Œ × Í Ý b ( Þ  Î Ø a ; Ý x Þ  » A n y Unicode[3] Ý D ¡9Í`Î 3#”:ÕÝÑΣÍa;Ý_r °#” AŒÝb(ÞÎØa;"DÝxÞ¬3Ø°èÕÄÉA ٓ C[p.36] (Unihan) 9Í(Þh`3#”Œ¨Ýΰó‚Îa;_ r 9ø'ŒÝêÝtݽ¿yJ›Ì«ÝY̲?¥ŠÝΠݯ.hŒ ¼3üîå\Ý\ïô²åÕv«aîø=”Ý-¿ ²I#” tÝ/I#”²Xbh…èÕÝçëCçîÝ£ÙKן| ‘ø= ”]PÓ¨A W3C XML ´°×6µ 3p

åç°×ø9Í

»!`"¨ÝÍhݨש‘ — . bdy™ÝçëLæyC…•



W3C XML ´° : http://www.w3.org/ xml/

ºÅ(•Zøo ‚3±å\>—&X.¸ÆÉÕ°«\`Ýèç 9 ôΠݯ\ï3üîå\`ôºý´9°8nÝçë£G

[ TIP

3 Acrobat Reader Ý' |Š•¼²Ip 9ø 3¶ìhݲI#”`¸µºœñ§ T Ýp

¬Š› =Ռçëœ

xv

¶3G«

0.5

þ8

4Q&E9ÍéhÝ_4C&4ø=”Ý'Œ]«õðsT¬"y%®8›Ý§ ×êG$P°3 PDF å\

¨õh…ÝZCE9Íþ\š 9‘ˆ

¬š9¿à&4ø=”à ">2®Õ0Ýa;õ/

0.6 t¡ ͽËw€ 5ãyçàyç6Ý×/ÝÞß3hTDÄ9Íh çî ÝZt&¼× eSÛÝßæ Ñ b¢1ݘȄ &[email protected]

xvi

<Tý0lÑK&ðK ¶*¼›

1 +Û XML

XML eXtensible Markup Language;¨Pý¥+Îç­I*tn)݀ ^ÏÝ@Ĝ×O

3Y&£GvÝÓ*çì…9ÍC¿1BÕ

¾Ø~Ý2M&£G®`PÊ8õ¸n;«¤9°t#Ý—i¥ –3 XML ìÝ2¥|1Xb8›&Ý6Õ„Ý — Š8Oracle  IBM

1.1

%‚Š. XML

1.1.1

n ¼Ý HTML

Š+Û XML P¹2ÿóa×ì HTML Ýþ\¬š½0º&Î3

Ø1

HTML ×PÎ 8D2HTML EJÍ WWW 9¿O¼Ý~Ms"áIõ£GÝø ;1ÎÏא‰?à#ñ›Ý×®GXÎbÝ£G¬úъ3ç­î†ß ŒTŠõt&çB†ZøøßßKÿ.½à HTML ¶ç°HTML 3yy¿O /?QW £Gøøì;•tÂÝýã}P¼Ñ HTML 3ß^+«]«œJW . ¸ÑÎ'Œ¼ÞZ/Ó¨3¸àï¿GݬÎQ&ð¿y^



Ý

!8øøFL£G&Ƽ:Íç­h7Ý@»ì«9ð HTML DÞh°£G| } (table) ]P4

.¦Lh



1

1 +Û XML

% 1.1: | HTML }Ó¨Ýh°£G

......
®ï ³‰±¬J
õi¯Ýç°'Œ–a  590
A¢3 7-11 ç*ç„ P(h 120


3p

2

Ó¨Œ¼lº !% 1.1 £ø

Ëw€ 2tigers.net

1.1

%‚Š. XML

¬ HTML Ý®Þь3HTML Ýý„9Î'Œ¼Ó¨ZaÝ} (layout) õ² ÌÝÉA î»Ý        ‡Kά3 XML õ XHTML ‘Ý” ý„ J ZµC}&¶X|×6Š 9ø

9Î×Íða ìÍða4èP×Îý„)QŠWÔWE



ŠëzÝý„ ý„

©&‘â¬&øüÎ XML }PÑ@æJݨ×4ŠO}ý9¬

ÕÎ HTML õ XML 8Ž . 93 HTML ôÕ)}©Î& HTML p 4

bƒ' ºà HTML

P¾• XML

67

G

6 ì×‚Ý HTML — XHTML Eyý„øü݆°ð×w¿T×w¿0l3&9¨bÝ HTML Dð| ŒÕ  E›CÕE›C

9øËÍý„ë3×RÝ]M¶°” Ý QþÕ . . . …œÝ XML Š—

[2.4]

*9× — Š¯ HTML DW )}Ý XHTML/XML D&ÆÄ

6DøüDƔ E›CÕE›C

. . . . ‘3 . . . …«‚Î×Í3…×Í3²

è-ô XML ; H

<è-ô/>[2.5.1]ý„ݶ°Î XML ݱs€3 HTML è-ôý„õ̀ý„ Ý ¬P!°×Ý-½Îè-ô©bRQ^b” ý„¼õ¸gEtðŒ Ý»²{ HTML Ý
õ 5  ݔ•}PÑ@݊O3 XHTML 
9vÝè-ôÄ6;¶W
T


A ¥Œ

Š.î«èÕÝ

õ

‡ý„õ
 ƒ

ח

õ

Îè-ô©Î¶ HTML ` ðޔ Ý

õ ý„Ž¶Ëïb ½

òPÂןîSr F

B ÿ 3 Ï 2.5.3 ;  — Ä  Ñ Î C ™ T ó C  XML Z  Ý ò P Â × Ÿ Š à S r À R ¼  . h 3 XHTML  
b
    
      
    1.  ‡ff/Î *Fƒ'&Ɗ3ç­î'ñ×ͱ·•¼ — ¿à^

      É©P (crawlers) Õç

      ­î&é¤7œŠ›.t±Ý‰ê8/¼¯&Æ݈V|¢hf‰hô mŠ˜˜ss2×çìϊœ:®Þ3h7äÝ簝¸àv«î»Ý¶ °ôµÎà HTML } (table) ¼Ó¨¬h7ØJóà!ÝPÉA à
      • . . .
      Ýf]P‚h7sàÝêΨ×?¥ÝÎ ×Í HTML 簝b×Çÿ&ðv«Ýý„A

  • b°T&ÎJ¼ý¥Â×:”Ýb°ÎJ¼ý0=”ÝÕ9ø¿ÍÎ ý¤`(Ìõ‰êÝý„ŠA¢Þ¸Æê2³ãŒ¼9µbF{[Ý1 AŒ& Ɗœ check Ýçìâ×\`

    µZ蘱×g£‚¯º? W&ÆÝÉ©

    PAŒΩ½Ï€£qͽE&‘&øÝ簜ÂD¹0Œn"£G¾ W™AŒ9°ç°£G©Îöºßvå\;£^b®Þƒ'×6K4 J„¬3£GÝç­t&ßvmŠ@˜ä^ HTML D¼ý¥Ý£GE^

    ¼&Æ95͊z|

    õ¶PÝß¼1¬H"

    ÝF §R¼?ÎÁ

    —þz[£ HTML Eµ ²Ì]«œ<QÁ—þzE/ôµÎ£GˆŒÝ¾ ætÝKó¿Í༾/TZLÝý„A

    

      <strong> ²¿{KÎà¼'Œç°} ÝÝX|G«1 HTML Î'Œ¼† ß^øøàÝEî«X$ÕÝpÞ&ÆtmŠÝÎ×ÍÞ¤`‰}€@ýîŒ ¼Ý^×ÉA1×Í <price> ý„<br /> <br /> 1<br /> <br /> AŒ H ݕ˜È Õ×Í餙çìœG×G3ç°ó×ø¤`Q¡3p óC•î HTML æD:œD|2.Œ4¤`3æDÝ5]›6Ž€¡2Œ ¼ ;-)<br /> <br /> P¾• XML<br /> <br /> 3<br /> <br /> 1 +Û XML 5£Îε; э HTML 9]«¼½WÊ`¶mŠ9 ×°±ý „6 •HTML 9¿O¼3Ëp<br /> <br /> g;ݔŒì\ėµªñÿ ÍMÎ<br /> <br /> Ý‚v&ÆÉΊ8êÎçÿT W3C  Î&Æ1T aîÎ׍ ×Í <price> ݱý„p¼ßµºá&Æ[?¢µ&•&¼mŠàÕ&P& ø!Ýý„AŒÙÙK HTML …£ÿÝ  Í@aî¤7…Ý£G3^b%®W HTML ç°GKÎ׉‰¶ïû ›;D3£]0Ý tables TÎ…Ý}Ì!ÿÝ餙çìKÎ9‚†¤` (Ì‚r‰} . . . ‡&ŠD3XòÝû›4ê5ÿ×zÞ½¬×Ë£ ]0ŸŒ¼B CGI/ASP/Cold Fusion/PHP/... scripts ¢×¢»W HTML } P¡9°¥ŠÝû›4ê(ÌŽWÝmP©ŒLÝ <h2>  <h3> T <th>  <td> . . . ð­•1æ͘ñ3£]0&ð–òÝ£GÚx (schema) 3¤`£ G»ð HTML 躛ˆVÝ!`¾QPDŽ*F&ÆAŒÞ£]0Ý £]A¤`TŽ1ºæÍJÝ£]Úx×"×è23Š õˆVÝ é\<br /> <br /> !FÄb¿Ô].£]">2˜áŠ Ý£]0/ ‚»è>¤<br /> <br /> ™[£9AŒà HTML ¼†:Nœæp *Ýç­t&餙@˜·¼²²é\Ù<br /> <br /> Ý!›^Ç䙣<br /> <br /> G!FŠ›;P‘ô“¼“¥ŠÉAG–ÝÉ©P&ÆmŠ×Ífê G HTML ??Ý]°ÍJμç­Ýs"Þº“”“X“áK¼Õ XML ÝF 2 <br /> <br /> 1.1.2 XML G¼Š= XML õ HTML Ý×! µ3y3 XML …&Ɲ|ŠãLý„LŒ¼ Ýý„|¶Š ݌¤†52¾ZÝ/ÉA&Ɲ|L <name>  <book_info> 9ø†5¾ŒÝý„3 XML &Æ©¥¥/9õ HTML úŸ<br /> <br /> 4<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.1 <br /> <br /> %‚Š. XML<br /> <br /> µ Ý®°8!‹y XML ZݲÌÓ¨DĤg CSS[4.1] T¸à XSLT[7.2] ¼† XML → HTML T̀}Pݎ9F쫺b ×MÝ1€ XML ¯Bº¸à HTML ÝßDêîW. ¸Ý¶°õ HTML v«.ý„à < õ > ÐrÀR¼?UÝΚ:@» <?xml version="1.0" encoding="Big5" ?> <.¦Lh> <h°> <!-- €Ó ÝhX†ÝP9…F ;-) š:ŒM --> <(Ì>õi¯Ýç°'Œ–a</(Ì> <®ï> </®ï> <³‰ 0JŽ›="±¬J">590</³‰> </h°> <h°> <(Ì>A¢3 7-11 ç*ç„</(Ì> <®ï>P(h</®ï> <³‰ 0JŽ›="±¬J">120</³‰> </h°> </.¦Lh><br /> <br /> 5\ b=ý„KÎZÝóç 6 ÎÝ9ôÎ XML ÝשPÔt&;XML 3'Œ-ÊÕ»j;Ý® Þ.hÆ×-˜x3 Unicode Ù×D[3]îE– Z¸àïÝ &¼ 1ËÝÎ&ðÝɯ XML Ý(ÌðCW004Q¸Ý(C¯ßŽÆ¸õ HTML ο•Ý Î Ø4 ©ÝTàAÓ¨ç°X'Œ¬¯@î¸Î×P§;¨à¼'Œ&P& øý¥+ÝãJôµÎð1Ý meta-language ø+Ž‚î+Ž𭕠1 XML Ý·ùf´{¸Îà¼5'Œ+ŽÝ+Ž6TàPšf«áÝ HTML  9ݝ ½&Æݏ è<br /> <br /> P§;¨<br /> <br /> bÝ XML |¡G–ÝŠ›;f‰PMQ<br /> <br /> Žÿœ|@¨Ý&ÆÝ^<br /> <br /> É©P¨3©ŠÕaîh7Ý XML ç°œ0 <h°> . . . </h°>  s…Ý <(Ì> õ <³‰>µ|5¿¾W™Þ&h7êGXWÝh°õ³‰××8/<br /> <br /> P¾• XML<br /> <br /> 5<br /> <br /> 1 +Û XML ôºZ´3×ÀÌ©ŒLÝ <p>  <td>  <li> . . . …ÝGAh£G XML ;¡&Ɲ|'ŒŒ?ÞãݨõS[ÉA§¸œ0Xb XML 簅3 <`(> 9Íý„…âb5MP3 –W69ÍC¿‚v!¤`Ý <‰ê> ý„XŒ ¨ÝóCÄ6±y¬Jëû-93*^BÎ<br /> <br /> ß10õF]K¿Í`G.Œ<br /> <br /> Ý Oracle8i £]0g)î€ÆݨõS[- ConText-èºÝ9øݐ Í€Ý database ¼ïA IBM õ Informix ‡ôK3”ÁxE XML ÝYîh ²& database ¼ïýýlæy¯íŒÝ£]|D|2»W XML±£]? à#| XML P˜á<br /> <br /> 1.1.3 XML Ý8÷P hûî«ÝD¡ ºs¨ XML Ìn¿4¬úPÝ©²bÃy»;Ÿ¨*Ýé \ç­t&|ìjE XML t¥ŠÝ¿4©PÞ1€<br /> <br /> ²²Ù<br /> <br /> Ý£G!;<br /> <br /> ¤¼Ý—¼:9F1Î XML tÝQ¤ *Š1!Ý ¼ µ=&9 ¼/IÝ&ÍI<br /> <br /> <br /> <br /> KD3&9!ÝÙÕóy0Y-Ý<br /> <br /> mainframe €ºXÛÝ “legacy systems” ÕßlB¯'é\Ù Ù<br /> <br /> ??.8A1Ý¿¬£]08›‡CW£Gø;Ýæp39°²²<br /> <br /> Ù<br /> <br /> †£Gøø??mŠ¸à©„Ý8›5¿2¬÷BhÝb&<br /> <br /> &ðjìAŒøÍÙøFð„±Ý8›œ꺜×ÿ‚›–CW×p RB bÝ XML ¡²²Ù<br /> <br /> |œ]-2DÄ XML ¼®øøª+ XML }P<br /> <br /> Ž|\Ey&vl£]ÜñÎZaRDBMS …Ý£]% . . . ¡Z CjTÞ-jKý¥Š®£GøøÝ&Ùî©mŠ„b XML Š— -Š\㽬^<br /> <br /> 6<br /> <br /> XF¼Ý£G ‚|¿à XML Š—<br /> <br /> <br /> <br /> [2.4]<br /> <br /> ãÿ|bœ98<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.1<br /> <br /> % 1.2: XML Î&ð§Ýçj+Ž]-&P&øç­<br /> <br /> P¾• XML<br /> <br /> Ì <br /> <br /> %‚Š. XML<br /> <br /> Ý£Gøø<br /> <br /> 7<br /> <br /> 1 +Û XML |Ý8›ºß¹ð쵂. 9ó݊— ^ŠË<br /> <br /> | Java ¶W?¸ÿb Java Ìa<br /> <br /> YîÝ¿¬Õ IBM Ý AS/400 AS/390 mainframe ùé\Õ<br /> <br /> Palm Pilot ßlB¯Íb9ËÍÁÐ XML Ý¿¬²²Ù<br /> <br /> ¿{XbÝ¿¬KñÇW Yî<br /> <br /> àHT:UE]Ý£]}P¤™?¼Ý2¥<br /> <br /> à½ômŠá¼E]/IÎ2à¢Ë}P;D£]Kà XML ¼® +}PǝAh×¼ØÍÙ/Iݎ?¬ºîCõ¸øø?¼Ý̀Ù . XML èºÝ×·§ÝcŽ XML 9 4 ¿ y £ ] Ý ø ð õ F L Ý © P  ¯ œ 9 ß -  XML Þ é  ¤ ™LÍÎXÛ b2b (business to business) 2¥E2¥Ý¤™ñ¼¬úPݎ \  É A  × Í vertical market  | 2  ×  XML ý „  3 XML & Ý 1 ° § 5 +ˆ 6vocabularyó¾ñ•9øîì* ¼Tߌ/ <br /> <br /> |œ]-2<br /> <br /> DÄ XML ¼ìŽ2óTFL'Œ%®`€Þ‡ EDI (Electronic Data Interchange) ΕbOÝ餼Zhøðýã@¸ EDI Ý2¥|8!|éPøðŽsÇ;6Zh?Ý`<br /> <br /> õüùÝ<br /> <br /> “Y2 @•Ý EDI ý㧠X12 t&̀2 J9ñ•Ð)»Ý EDIFACT ý ã9O|¼ EDI ¬^b.¼. EDI mŠ¸àòÝ8›PšÝ¼) ®æàÝòÝç­Æשbl ¼ (Fortune 1000 ùÝ) ÔÿRXML ݌ ¨ HR EDI Ý ¼èºÝ×¼±g  XML FîÇ&ðÊ)༮ EDI ×vÝTà¾Õ!øݐ?¥ŠÝÎ XML 8›ãÿ]-Dßy ^<br /> <br /> îKþêà#¿à‰…ûCÝ Internet a­¼FX% 1.2pM<br /> <br /> K2¥”Á@s| XML Áݱׂ EDI !} ÜÍ»À™ˆ1›Ît\༊1 XML 8÷PÝ»¸à XML ¼ ;D;¼a¡¼ßݼ»|3&ÀoæX<br /> <br /> Ýé\<br /> <br /> ">»”.<br /> <br /> XML }PŽ HTMLb`:Ý˺#”&À™ÙÝ /|œD|2 ¶Œ §ÝPDã̀ÙXF¼Ý XML £]ؼßݼa#‹|à XML ;<br /> <br /> 8<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.1 <br /> <br /> %‚Š. XML<br /> <br /> D3@ÍßÝ smart card î –÷ñ h² Å82Z;Ù×;‡XML KÎt·Îóß XML Î2wÝýãßßK|J¸¼s8›N8›2¥.¹Š Lºb1ÿPÝ2¥››¢½Ñ;©b€ÆŠ z½Ý}P¼¿ßþ> ùÝŒ¨9ÑÎ2ýãò µA!*F~Ms"Ý Internet Θx3 &4 TCP/IP 2ýã×ø9ôÎ %‚ßßKTæYî2ýãÝæ. 5b°Ý'Œ¼†=çÙ<br /> <br /> FLG>ÝI*ÉA CORBA-IIOP Java RMI<br /> <br /> õŠ8Ý DCOM ‡9°I*p¼A XML ¼ÿ{[6 ´ XML õ CORBA DCOM 9°I*¬8ŽM XML | ¸Æ†FL G>ÎÝ[ XML-RPC õŠ8â…¾Ý SOAP 'nµÎt?Ý»<br /> <br /> XML-RPC :<br /> <br /> ï|Þ-j}PFLG>Šf XML b[£¬¸Æ3¸à-]«QGA<br /> <br /> http://www.xmlrpc. com/spec<br /> <br /> XMLXML DKÎöZCj‚&Þ-j†¿D|å\?à_ì<br /> <br /> à#_<br /> <br /> ÑöZCÝ©Pô¯ XML Zà#DÄ HTTP T SMTP ‡¨WÝ;*ܼF<br /> <br /> SOAP : http://msdn. microsoft.<br /> <br /> X¨6¨•_DT®Î; (serialization)2 D; §h² XML Ž| .EB! HTML Ýß?Î|îW^bq$Ý.ê`a.hõ̀I*8 f¸Ý8FR‚Ý §R¼´XÝþF?¢µ3«Ÿ3 aò<Ý* ^é\{›Ý‚æ¹²>W£] §Ý>—3μÞ?ήÞ<br /> <br /> 1 SGML Î×bè¿OaªÝ»jýã HTML -Î×4 SGML ÝTà@»h² Adobe ÝZh4Ì Ì FrameMaker XàÝ/I}PÑÎ SGMLSGML ' ŒÝ×êýÎ1 — ¸Î'Œ¼èºZ 50 O|îÝ.úÝ9O|¼. SGML HÄÿÓX|×à^b3t&îø•R¼×©bl ¼TÅ8^ 2 3<br /> <br /> XML Z͖ÕÎ;Ý ãz©« (Intel) 2¥xðß«X茀ï?I*Ý ">—Þ¸×ÍþnXûݖ0›À óNO¡¼ÑÑ NËO¹¦×g<br /> <br /> P¾• XML<br /> <br /> 9<br /> <br /> com/workshop/ xml/general/ soaptemplate.asp<br /> <br /> 1 +Û XML x3¸à»AY»Ý»€ (IRS) -| SGML ¼'Œ€‡Z Ñ. SGML Ä ÓpUv´Êàyç­X|bIÿ©½'ŒÝ XML ôµÎ1 XML Î SGML ލ¡Ýç­Ì‚ SGML 1ÂÝ©P3 XML ¬ Ώ´¢Û1ÂŽŠ1Ĝà WordStar 1.0 }P¶WÝZµÕà*F t±ÝŠ8 Word2000 ¶Œ¼Ý .doc jn ö1J 50 O¡Ýé\î0ÿÕÆ 9°jnÝTàP50 O¡Ýé\îþ Word2000 WordStar 9°\ Ä`ÝP?W®Þ‚þ9°P݀é\?\ ýïÀ:NŠÕ}Î ÃÿÕ9øݞlAŒŠ ½8›Ý?±õ>ù\ÞZg)»ð >ùÕt±Ý}PJê&ð^b[£±ÌÝZh_ì8›EÌÝZÝø P?ŒÿK×"×è2D@¥¨ XML Z¬^b9°®Þ3μÝt&Š XML Z»ðẀÝ}P ?ÎD‚|Ü~ޏmŠ1ÂÝZËKÜñÅ8úƒ2Z°ŸZ ª]À™BI.@~ ×#‹yÍßÝ^B/7‡KmŠ1Dœ Ý`<br /> <br /> º¡t¢3Zhé;Ý 21 tSŠA¢ò1D9°Zõ<br /> <br /> BÄÞÎלނ SGML õ XML Ý'ŒÑÎ 20 tSÏÝI*áEh× œÞ݌«<br /> <br /> Š›; user agent ÎÉT G«Ï 3 °XèÕÝ^ ìÌ^<br /> <br /> É©PΊ›; user agent ¸àï‚P|<br /> <br /> ßÝ×ÍÎlÝ»çîÝ&¨õS[ìêÝÑÎ9°PN<br /> <br /> F\ÞWûî0Ýç°/8/¿OGµbߝμÝç­t&Yÿކ” 9øÝ; 1. ¸àïtŠŒ×µGmŠ^Ç 2. 9›¸àïyÎ.@é\îÝ^<br /> <br /> 10<br /> <br /> ߧŒ¼.TꧏÝè2¥C²•<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.1 <br /> <br /> %‚Š. XML<br /> <br /> ÝRFâF^‡'?¡¯Pœç­îÝ_•ãì¬.t±Ý ‰8/ ¼ 3.  ‰××8ՄÝ|¡^<br /> <br /> ß'Œ¸àï/ ×áø׉}t-!èº<br /> <br /> ® ^ÇÝ¥Š¢ 4. ¸àïqA^<br /> <br /> ßX/ÕÝ DÄp<br /> <br /> ›#‹Þ›Ýà#«^<br /> <br /> Õt-!Ý£_•ãÝ쬍<br /> <br /> ߐ×W <br /> <br /> ¬Î 9øY?ÝGÿ‹KÕêGK^b@¨I5æ.ÑÎG«X1 ÝHTML ZŠ\|9…XÛ݊\ Qμ:ÿU£°Ì«µ ݼ ƒ9Í ®p<br /> <br /> B†ÿ8 ?ÝpÎp38›ŠÌnŠ\ZŒÝæ<br /> <br /> XML ¯@¨ smart agent Ý0@¨^ ×MbÝ XML |¡&Æ |Š•'Œ¾ŒÝý„A<‰}>  <¤`(>  <^>  user agent P |DÄ9°ý„œ"20Պ0Ý£G‚ºZ´3×n5HTML Wõ6Ý<br /> <br /> ?Þãݨõ 9Í©Põî×ÍŠ›; user agent1Î8B8WXML ý„ˆŒ²°€ç èîXý¥Ý/¯¨õS[¢ãý„õ/<br /> <br /> ݵDn;ã@2›0Õê<br /> <br /> ý¾W™ÜÍ»&Íߏ?£ËÆR¼œ(Ý"8àR¼¯øÍÝßŽÆ &Ñ3RN2 ®¬Üÿ€Æp| ® ;-&.&Ý agent PXÕçîœ0b né\"8Ý£G?® &óGÝ¢¬®ÞÎ5"86ËCHÄTٝ Œ¨3é\ëÝç°ÑÎ&0ÝA <é\à> ...... <ø\> ‘ýTø\"8 PS2 +« </ø\> ... <ø\>{ùÔ"â!ƒlŠÆUSB +«</ø\> </é\à><br /> <br /> P¾• XML<br /> <br /> 11<br /> <br /> 1 +Û XML ¬¸ÆôŒ¨yØ)¬$Ý+Û <)¬$> <$(>\Zoo!</$(> <Wõ> <$>A x¬钥</$> <$õ>äßé€</$õ> <$õ> ¨î"8 </$õ> ...... </Wõ> </)¬$><br /> <br /> #‹Œ¨ỳvlÝç°ÉA °ÿbTébÝ®`1€° bÝ XML &©Š×å&Ý agent P.êýÅ3Ø&y5é\65ø \69°4êÝ5"86ÞCǝ É©agent 'ŒR¼ 3 HTML `‚£ ‚ls‚v¨õR¼3[£ã@PîKŠ{9Ý <br /> <br /> 1.2 <br /> <br /> XML Æ6<br /> <br /> 3£]0<br /> <br /> | XML PFLÝ£]T&mŠ©½õF¬ÎAŒ× XML Z<br /> <br /> ŠÓ¨3¸àï«GTïŠ}`&Ɲ|DÄ CSS[4.1] T XSL[7.1] style sheets Íh˜®5ø!6¼'²ÌCSS t\Î HTML X'ŒÝ¬JÕ XML î× ø?àCSS ÝÏނ — CSS Level2 3s"`BÞ XML ÝTàˆ œÝ g)ø!&ÆE XML Z&Íý„…ÝZC/ݲÌ‘ÀClÝ ‘4]P›H·«‡K|××¼??ÝÎ!øÝ XML Zµ !) ¸'ŒŒ9ø!ÉA×Íç­h7Ý%h£]œÉmŠw3ç° ºßpêmŠ.¸Æ3ó°ÝsDž h؛)ˆ9Í`ΩŠ'ŒË ø!µ|¾Õ9ÍêÝ š:!% 1.3 ¥ŠÝÎZÝ/õ²Ì'ŒÎ5ݲÌø!Ž›`XML Z åÅ(<br /> <br /> 12<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.3<br /> <br /> XYZ Ýb(Þº™ — XML Tà@»<br /> <br /> % 1.3: !ø× /gî!Ýø!ߌ^Q!ÝC<br /> <br /> 1.3<br /> <br /> XYZ Ýb(Þº™ — XML Tà@»<br /> <br /> ì«&;Þ+ÛÝTà@»KÎà#˜Hy XML îÝ+Ž†5J€Ý XML P GÃ&ÝÄP<br /> <br /> 1.3.1<br /> <br /> ó. ML<br /> <br /> MathML ¢½ XML LŒ×†5¾ó.PÝý¥+Ž¸B3òGÑP<br /> <br /> MathML :<br /> <br /> W W3C Ý.¦ýã (recommendation)  ½ XML `‚ݼÛó.ÆÞ<br /> <br /> http://www.w3.org/ TR/REC-MathML<br /> <br /> ö8 HTML bþEó.Ðr2PÝYîÝ<br /> <br /> 1.3.2<br /> <br /> Šî™=<br /> <br /> SMIL Î59ª›!MJ)+Ž6 (Synchronized Multimedia Integration Language)<br /> <br /> SMIL :<br /> <br /> ݹ¶\® “smile” :-)ôÎ×4 XML ÝTàÂåKÝ RealPlayer G2 -<br /> <br /> http://www.w3.org/ TR/REC-smil<br /> <br /> 2à SMIL ¼èºÅ (Real Video)¯ (Real Audio) %j (Real Pix) ZC (Real Text) ™=ݐ¯'Œï|Šã×9ª›Œ¨Ý`<br /> <br /> õ¡5<br /> <br /> õ MathML ×øSMIL ¼W W3C ÑP.¦Ýç­ýã<br /> <br /> P¾• XML<br /> <br /> 13<br /> <br /> 1 +Û XML<br /> <br /> 1.3.3 Flash lW SVG :<br /> <br /> SVG Î Scalable Vector Graphics Ý ¹ ¶  ¸ Î ã W3C X @ s  Ú x 3 XML<br /> <br /> http://www.w3.org/<br /> <br /> à  î Ý '  %  } P  s " W õ ‘ À Ý AdobeHPIBMMacromedia Š<br /> <br /> TR/SVG<br /> <br /> 8NetscapeQuarkSun ‡2¥êGB¾t¡$ð¿:ÇÞW ÑPý ã Ĝ3 XML '%Ýs"îbË Ì PGML ¨×<br /> <br /> ßy!8´N×<br /> <br /> ãŠ8Macromedia r”<br /> <br /> | Adobe ´è<br /> <br /> Ø VML IE5 bYî39Ë<br /> <br /> èÈnÓL› W3C ¡W3C Xܟ&­ßyÞË!½yÝ}PÈ)3× R2WÝ SVG ݙß &Æá¼êGç­ît ;•Ý%j}P — GIF  JPEG õ PNG4 KÎòy FpPÝ}P‚Fp%bM´¿¹wÝþFMacromedia Flash Xèº Ý'›iÊ`2ù̂áp‚Ý×I59]«ÝèçW2Æ(Ý9Í® `£ÉQBb Flash‚v Macromedia òGôÞ Flash }PD€;ºß Šãs" %‚Š¢Œ×ͱ݋—÷ ´t¥ŠÝÎSVG ˜HyöZC}PÝ XML îà#µYÝG«èÕÝ XML ©P;²²Ù<br /> <br /> Ý£Gøø]-£]0ÝDã‚v3μà#È<br /> <br /> á XML õ XHTML[6] ç°?|à#¿à̀ÉbÝp<br /> <br /> ÐI*A CSS[4.1] <br /> <br /> DOM :<br /> <br /> DOM ZÎÿlDocument Object Modelõ ECMAScript JavaScript<br /> <br /> http://www.w3.org/<br /> <br /> >}W ECMA %öýãܺ&ÑPýã¡Ý±(¾Õ›iC DHTML ݛ<br /> <br /> DOM<br /> <br /> V[Œ5  SVG ôYîFp%jVáYîêG)3s"$ðÝËÍ XML =”+Ž XLink :<br /> <br /> — XLink õ XPointer¬|® HTML Pݎ'=”?èº9'=”õ&9Ó<br /> <br /> http://www.w3.org/<br /> <br /> ÝøbSVG Î2Ýç­ýãåŽ×Ý2¥EÁ<br /> <br /> xlink XPointer : http://www.w3.org/ xptr<br /> <br /> î«94 SVG Ý8FQÑÎ Flash ÝþFFlash Ä6ŠÄêp<br /> <br /> ²,Pæ<br /> <br /> 4<br /> <br /> PNG \® “ping”Î'Œ¼ã‚ GIF ÝFp%j}P¬f GIF ? 8|t¥ŠÝθÎ× Í2ýã^bÝ¿JÝëêGYî PNG Ýp õ%% ÌbK‚v\3¦ 5 XÛÝ DHTML ÑÎDÄ CSSDOM õ JavaScript XˆCŒ¼Ý›V[ŒÝ½Ì<br /> <br /> 14<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.3<br /> <br /> XYZ Ýb(Þº™ — XML Tà@»<br /> <br /> plug-ins¼êw‚v. Flash Ý}P Þ-j®`/ÝZC/P°¯¸ àï3p<br /> <br /> ®C™¨õÝ@bß.Za† Flash éŅ 9øÝç°<br /> <br /> ôP°¯¨õS[ìõSrÍÝZCº"ˆ®Zlõh²{!›PÝ 9ª››i??mŠê_¶P¼QR.h Director b Lingo +Ž9FÎ Flash ¨×Í´ ¿Ý2]Flash õ JavaScript <br /> <br /> Ý!›©DÄf´«êÝ<br /> <br /> FSCommand ¼®[4Q Flash Ï°Ìôá×°ŽÝP'Œ ¬)Ènõs" W!Ý ECMAScript 8f-î×^?½1 ECMAScript \bÂݸàßý \1Ý9‚9 Flash Ýû•&€Ó ÝîBAë:¼"ŽW 5ë 6Ý @"3h‚†×FÑ Flash bî–9°þ8¬‹K3*^) Îç°'›it?݊X]nSVG ÝGÿ4Y?¬êG$)‚º3€^ÏÝ 2›t¡ìº§øœp\ &Ƽ:: SVG D~bÿ%‚øà#ãCŠ SVG ýãZ <?xml version="1.0"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG August 1999//EN" "http://www.w3.org/Graphics/SVG/SVG-19990812.dtd"> <svg width="4in" height="3in"> <desc>|ìÝ SVG DºiŒ×Í ‘ÝiR‘ݲo</desc> <g> <circle style="fill: blue; stroke: red" cx="200" cy="200" r="100"/> </g> </svg><br /> <br /> . SVG H±ÝêG¿ÍxŠÝp ^bYîÄBb SVG Ýp<br /> <br /> ‘À Netscape  IE õ OperaK<br /> <br />  IBM Ý SVGView Œ% 1.4<br /> <br /> . SVG Úx3 XML î‚ IE5 õ Netscape5 K/˜ XML Š—<br /> <br /> IBM Ý SVGView :<br /> <br /> †5<br /> <br /> http://alphaworks. ibm.com/tech/<br /> <br /> Y î XML ‚ v ê K Y î Í € SVG  | à #   Ý I *  ‘ À CSS  DOM õ ECMAScriptX|μÝp<br /> <br /> svgview<br /> <br /> báE SVG ÝYîLÍÎ Netscape . <br /> <br /> ¸B;2 Open Source PD2ÝÿP¼s"Mozilla Œi¢#Tß<br /> <br /> Mozilla Œi : http://www. mozilla.org<br /> <br /> P¾• XML<br /> <br /> 15<br /> <br /> 1 +Û XML<br /> <br /> % 1.4: IBM Ý SVG p<br /> <br /> 16<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.3<br /> <br /> XYZ Ýb(Þº™ — XML Tà@»<br /> <br /> ÿK|x›Q¤SVG ÝYî `b œ Š¯ SVG .¼n"3Šb]-?àÝ_ì ̌¨ãy SVG Î2 ýãxŠ3K¡ÌTÝêÎ Adobe‚€Æ3 WWW 8›½ÝiñêÎ Macromedia î XML #XLñÝ8T9¿]«@¾SVG 3μÎ^ bæ゠FlashW ç­îÝr'%}PAŒÕ`Î 5Flash lW6[T ËÝsß½Ý Î39…:ÕÝù ;-) <br /> <br /> 1.3.4<br /> <br /> XSL<br /> <br /> CSS[4.1] ²¨×Ë XML Æ6²ÌÝI*Î XSL[7.1] XSL X¸àÝ]°õ CSS ² Ͷ&Æ3 7.1 ;ºÞ+Û<br /> <br /> 1.3.5<br /> <br /> bø°8nÝçì<br /> <br /> Netscape p<br /> <br /> 4.06 C 4.5 ¡ÝÌÍ/˜Ý×4 “What’s Related” — !vl<br /> <br /> çì.¦†™ÍK¡Ýא‰tÝ£]0C¨õS[²T´. RDF £Ù<br /> <br /> RDF :<br /> <br /> LÚxResource Definition FrameworkÝ<br /> <br /> http://www.w3.org/ RDF<br /> <br /> Ž—×ì “What’s Related” ݐΧ‚†Œ¼ÝN ¸àï¶ì9Í ¶`p<br /> <br /> -Þ¸àïÑ3pÝç°çëFXÕ Netscape 2¥Ý server<br /> <br /> îserver 3¸Ý£]00Õ9Íç°¬vÞXbõ9Íç°n;tÛ6Ý̀ç ëC8n£]| RDF }PF/›p<br /> <br /> t¡|Ȏ]PÓ¨3¸àï«Gº¸<br /> <br /> àïóCG? à1RDF Ψ×Í¥ŠÝ XML +ˆ¸‰;Š HTML ¢½ <meta> ý„¼ à–ç­£Ù݆°‚XÛÝ5‚î£G6(meta info; meta data)à×­• ŽŠÕ6 µÎ “data about data”ÉA%h<br /> <br /> Ýhêõ®ïõSÑδ MÝ<br /> <br /> é\ó›PTÎFÙÝ5˜nhà6PÑÎÎlÝ‚î£GRDF 'ŒÝê 6<br /> <br /> Ãà RDF ýãÝ1°<br /> <br /> P¾• XML<br /> <br /> 17<br /> <br /> 1 +Û XML ÝÑÎà¼à–‚î£G¬Š¯^<br /> <br /> \?Š¯¸\ÿU9Í¥ŠÝ <br /> <br /> ½3G«D¡ HTML õ XML Ý8þF`BúŸÄRDF ½¥y^ ݊›;øø|à¼à–ç­£Ù]-¨´¾£Ù£Ù<br /> <br /> ^<br /> <br /> <br /> <br /> Ý8!n<br /> <br /> ; 5£ Netscape øÿ¼9‚9ç°çìn=PÝ£]÷6 9Îã Alexa 9¨õS[2¥èºÝAlexa Ýxðß×ÑÎĜ(è×` Ý WAIS ¨õS[Ýs€ß¸Ý¨õ†™ÎÍa7œbxŒÝF¸Æ# åçì¼x› (rBº®îä^<br /> <br /> É©8/¼Ýç°EÍÝø=<br /> <br /> ”®çìn=PÝ5—‚ “What’s Related” ¸àïÝóCJ® ÑÑn=;ó Ý¥Š¢ DÌ̀–9óݨõS[ìA AltaVista . 2àŠãrBׂvÞç ° <meta> ý„XÝn"C® ¨õ”Œ45Ý¥Š¢B0l×° çì¼ïLÍΑõãPP²Ýì¬ ÝÚS?9Ý"ˆ~àn"CÝ'Œ ¥-`¨õ”ŒPôª±Ý¨´ìÝ@à‰Â<br /> <br /> 1.3.6<br /> <br /> ¸à+« ¯'<br /> <br /> ñkŒÝìׂ Netscape5 p<br /> <br /> (Mozilla) …Õ²JÍñÝ×·ètÝ<br /> <br /> HTML4.0 :<br /> <br /> 100% Yî W3C Ý HTML4.0  XML  CSS1  DOM1 ‡²E CSS2  DOM27 ô<br /> <br /> http://www.w3.org/<br /> <br /> b×°Yî Mozilla ݸà+«ôÎ×x±¬¬¿¬‚v|¯ßŠ<br /> <br /> TR/REC-html40 XUL :<br /> <br /> ã'¶Ȏ¼ƒ‡-à¼'׸à+«Ý+Ž — XUL êÎ×4<br /> <br /> http://www.<br /> <br /> XML ÝTàôµÎ1! XML Ýߝ|†52à XUL õ CSS ¼;Ž Mozilla Ý<br /> <br /> mozilla.org/ xpfe/xptoolkit/<br /> <br /> ¸à+«p<br /> <br /> ݲÌô.‚Žÿ Ùw« (themes) ×ø¯b'Œ»¤Ý߆<br /> <br /> xulintro.html<br /> <br /> 5sì Ýè<br /> <br /> µ #Ý MP3 êw<br /> <br /> ×ø3μN &Æ:´Ýp 7<br /> <br /> Sonique õ WinAmp XYîÝ skin <br /> <br /> Ý+«`-Õç­îœìµ×?UÝè·<br /> <br /> )3'n$ðÇÞW ÑPýã<br /> <br /> 18<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 1.4<br /> <br /> àÎ<br /> <br /> ðîœ<br /> <br /> 1.3.7<br /> <br /> £Š8÷<br /> <br /> Š8œ\µ¸à XML¯@î IE4 p<br /> <br /> X/˜Ý CDF (Channel Definition<br /> <br /> Format) èº¼å push †™œÌ t\Ý XML Tà@»IE5 p E XML  XSL[7.1] õ DOM ôKb8 —ÝYîh²âŒ£Ý Office 20003;DW HTML }P`¿à <xml> . . . </xml>  sŠ8Ý+§5 XML * 6   ¼ ¾ Õ Ô ' (round-trip) Ý } P » ð  ô µ Î Ä œ s  W HTML ç ° Ý WordExcelPowerPoint ‡Z|¥±\á Office 8›D@2¥¨ æ¼ Ý .doc ..xlsõ .ppt }P Š8μÝ餙ˆ¯XML ÞÎ¥Y€ÆêGÑÞì×‚Ý COM (Component Object Model) +«w¯Í€ٝ|DÄ XML ¼Ú;Î ¼Yî XML Ýx^8›?‘ÀÝ Windows2000  SQL Server  BizTalk server  õ Commerce server ‡<br /> <br /> 1.4<br /> <br /> àÎ<br /> <br /> XML ΀^ÝI* ¨3µ|†5²å¸Xñ¼Ý? 94¥ŠÝ XML 8n I*CýãKs"W!&vTà8›?A$¡Ê\">2¦<br /> <br /> P¾• XML<br /> <br /> 19<br /> <br /> 1 +Û XML<br /> <br /> 20<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 2 XML +°r <br /> <br /> &Ƶ;àÏ 1 a5.¦Lh6Ý»! 2.1  |¿àÍݑsà# ®Õ1€Œ4+°Ýa;œ×:~b <?xml version="1.0" encoding="Big5" ?> A <?xml-stylesheet href="style.css" type="text/css" ?> B <.¦Lh> <h°> <!-- €Ó ÝhX†ÝP9…F ;-) š:ŒM --> C <(Ì>õi¯Ýç°'Œ–a</(Ì> <®ï> </®ï> <³‰ 0JŽ›="±¬J">590</³‰> D </h°> <h°> <(Ì>A¢3 7-11 ç*ç„</(Ì> E <®ï>P(h</®ï> <³‰ 0JŽ›="±¬J">120</³‰> </h°> </.¦Lh><br /> <br />  2.1: Z XML @»<br /> <br /> 2.1<br /> <br /> Gu<br /> <br /> 3 2.1 …ÝÏוB–&Æ:Õ<br /> <br /> A<br /> <br /> <?xml version="1.0" encoding="Big5" ?><br /> <br /> 21<br /> <br /> 2<br /> <br /> XML +°r <br /> <br /> 9§ XML …× (declaration)?b.®ÝÌñ GŽ (prolog) Í version 9ÍۀÌÍÝòP׊b‚ encoding 9ÍۀZC_DÝòPJbP AŒ6¯Ý•CDÄ6Î Unicode[3] | UTF-8 T UTF-16[3.2] ®_D39øݵ ì#‹|ÞJ• <?xml ...<br /> <br /> ?> …×׿6œÄ XML ýãú¦˜ÈŠ<br /> <br /> 9‚†ÑàÝÎÎ Unicode t?ÎòWן¶Ý?êY 3&ÆÝ»J€@2ۀ¸àÝCDÎ Big53 XML ZÝ_DÎ UTF-8 T UTF-16 Ýì <?xml ...<br /> <br /> A ¥Œ<br /> <br /> ?> …×–6‚ encoding ô–K<br /> <br /> ÎXb XML 8›KYî Big5/GB2312 XML ýã©ú ×!Xb8›Ä6Yî UTF-8 õ UTF-16[3] 9ËË_D ‹yÈ»2 P_DÝYîJã&8›s"ï Š•X.hŒÿXbÝ XML 8›KÑ@ § encoding ýî Big5/GB2312 ÝZ‹y %‚Š9 ø!&Æ3Ï 3 aD¡ Unicode `º"D9Í®Þ<br /> <br /> 2.2 D<br /> <br /> -ôòP<br /> <br /> 7ÌÝ5ý„6 (tags)@jî‘âÝ5-ô6(elements) õ5òP6 (attributes) ËI5 »A3 2.1 5®ï6Îàòy5.¦Lh69ÍÒ-ô9ìÝ-ô ‚50JŽ›=”...”6JÎ5³‰69Í-ôÝ×ÍòP&Æ.50JŽ›6Ì® 5òP(6‡r¡«ÝÂJÌ®5òPÂ6t{·Ý-ô.¦LhÌ®5qô6 (root element)<br /> <br /> 22<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 2.3<br /> <br /> ۊ<br /> <br /> % 2.1: XML -ôòP<br /> <br /> 2.3<br /> <br /> ۊ<br /> <br /> 3 XML ۊ+°õ HTML&ð8«4Q}¼ý×ø¬Þïݽ39…¬¥Š×A HTML ۊÎw3 <!-- õ --> <br /> <br /> Ý sA! 2.1 X<br /> <br /> î<br /> <br /> A ¥Œ<br /> <br /> ! 2.1 Ý XML Dà¼&-ôÝÎ ASCII Ýy õyÐr< õ > –.h3_ì<br /> <br /> káZÝ<br /> <br /> -ô(`Š¥ŒŠ.³E‚0íáÝZCDÝ Ðr “~”  “”  “1”  “2” ‡<br /> <br /> 2.4<br /> <br /> Tþ݊—<br /> <br /> 3 Š Õ XML  } Ý + ° !   G  ¯ & Æ  ¼ — — parsing 9 Í ¥ Š Ý Ã F  “parse” µ Î Š — Ý Œ ¤  – 0 Î  · Ý ß v  & Æ Ý  \ N F K 3 †   Ý<br /> <br /> P¾• XML<br /> <br /> 23<br /> <br /> C<br /> <br /> 2<br /> <br /> XML +°r <br /> <br /> parsing ›®Q??BQŠá — ¨3µÑ3† parsing — å\9Íh  X|:ÿU&¶ÝZaTAh ;-‚vWUøÍÝßýݕÑÎ. Ý\ b׬&ð•Ý+ŽŠ—<br /> <br /> zZ§ “parser”  `3{>Š\Zaõ•+<br /> <br /> \C\­×àÕ+°+Œ5—9͊—<br /> <br /> ݐӗõÞ@—΢é\+¯íá<br /> <br /> 8›XT&C݃'3Õîb×̀²' «”¼ý¼ 5—~(&§ø… bus |&¤6<br /> <br /> T5\ 9Îø»Ý+°ôá¼9̀²Î3ø….ZÝÄâW 3.lÎ Ý 6<br /> <br /> %‚&Æ×Wգ̀²Ý•ºyîb9ËDT9µÎ. &Æ\Ý+ ŽŠ— Š—<br /> <br /> ôµÎ parser3ÜT(ȯ&Æá¼9Í­M…M‡Ý Î+Ž §ÝtGaÉA&¼^.Č»•\.‚bþŒ+݊—<br /> <br />  «E× Œ+Z`&=tÃÍÝCÞ­”xK¢z½?$è¯&<br /> <br /> ×M˜ËTÑ;9SZaÝ !ø28›ômŠ/˜+ŽŠ—<br /> <br />  §ØË+ŽXML Î×Ë+Ž3&<br /> <br /> Æ ×M¿àZÝ/G×ŠàŠ— b ç°p<br /> <br /> ÄÌn×Í HTML Š—<br /> <br /> .Z5—W×ÍÍΕ 9ø¸\ÿU&çì…Ý<br /> <br /> HTML j ‚Þç°µ Ó¨3¸àï«GAŒ¸\ÕH‘ùÒHÝ HTML Z µP°¶æ HTML ®ïXT¾Ý]P.Za5¿23pï«GÓ¨Œ¼ #‹×nèç%‚KŒ¼ð­•1p<br /> <br /> /˜ÝŠ—<br /> <br /> |ÄBÚâ¶Ý<br /> <br /> ç°©?-íwaÝ XML Ý'ŒïbdyêGç­î†ÊÝæD5ö6Ýç°9ó HTML jݶ°õ}P}ýR¼K)}.hX9gŠ×µ}ƕ!X bÝ XML ZKÄ6ñF¿ÍÃÍ!ì×;ÝxÞÍJןºÙÙª £NÝý0G> 5€Æ„‚Š!ÿ9‚6<br /> <br /> 24<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 2.4<br /> <br /> Tþ݊—<br /> <br /> % 2.2: Š— Î §¢ XML ZÝÏ×n5—Œ¼ÝÎJø›ì*ÝTàP ® ×MÝàH<br /> <br /> P¾• XML<br /> <br /> 25<br /> <br /> 2<br /> <br /> XML +°r  XML Ý+°CE}Pݐ}ŠO2CÉ£°#”Óœs"ý<br /> <br /> ¥+Š—<br /> <br /> p<br /> <br /> ÝÓ /9Í|s"Ý©Pb¿y XML Ý">ûC<br /> <br /> ;XML 3s"`׍Ýèft{¼0æJ9ÎÏ°f3'Œ XML ÝI. Ýƶ1°Î×Íé\IÝ@~ßc9Ë͂´`<br /> <br /> µTŒ¶Œ×͊<br /> <br /> \ XML £]ÝP Š!ñ×èÝάÎàËp<br /> <br /> ?ŽÄ^®ÞÝç°µ1JÐ)<br /> <br /> HTML ýã¯@îÑ. ç­îbH9)}Ýç°¸ÿ'Œp<br /> <br /> Ý /P<br /> <br /> “¼\Ö¯€ÆÝ®`ȼiâ2 §&Ë"â+°-Ýç°9µ G«èÕ݀²®­Ý»Ñ&ÆàƀýŒ¼Ý•œM¬T&&Æl žÿŒ¼€Š1ÝÎ%‚X|&1&Æ\Ý+ŽŠ—<br /> <br /> ËÝΜ•<br /> <br /> XML ZÄŠ5C}6<br /> <br /> 2.5<br /> <br /> 5C}63 XML ÝÑP1°§ “ well-formed ” ôµÎ }PÑ@ ¢ZŠ ÌÿîÎ XML ZGÄÿ5¾ÕC}ýã6¾ÕýãÝZº¯ XML Š —<br /> <br /> žÕŠ—´?%‚K†W £‚Õ9Š§øÝ XML ZÕC}÷pxŠb|ì¿ÍæJ<br /> <br /> 2.5.1<br /> <br /> Xb-ôKŠÑ@2nT<br /> <br /> 3 2.1 &Æ:ÕXbÝ-ô[2.2]ÑÍLæÝ9K‰£]T¿Í-ôÕ t¡×Kºb×Í HTML ݔ@ý„.9Í-ô5nR¼6ÉA <®ï> Ø ß </®ï>qA HTML Ýýã!bKý„»A <p>  <tr>  <td> ‡ ¸Æݔ@ý„ΝbPݬ3 XML ”@ý„–KAG«X19ø }Ý!3DÝs" XML Š—<br /> <br /> õ̀s Ì`ݐH<br /> <br /> \ Ž › ÿ " Ý \ ï    B 3  Ý  5 £ 0 × b HTML …  <br>  <img<br /> <br /> 26<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 2.5<br /> <br /> XML ZÄŠ5C}6<br /> <br /> % 2.3: XML ©bÝè-ôýî°<br /> <br /> src="foo"> 9vŠW×͎-Ýý„§‚ð6 ®ÿ? 93 XML §5è-ô6 (empty element) . 9øÝ-ô/â ¢ZC/©bòPXML è-ô©½s€Ý×˱Ýî° 9ø <-ô/><br /> <br /> AŒñbòPݕJ¶W <-ô òPä="foo" òPØ="bar"/><br /> <br /> 2.5.2 ý„ ÿøü &Ƶ¸à5.¦Lh6Ý»ƒ'*Fb9ø×Íý„4 <h°> <(Ì>A¢3 7-11 ç*ç„ <®ï> </(Ì> P(h</®ï><br /> <br /> 9µÙÝ5ý„<br /> <br /> ÿ8ø6ݺ * XML !XbÝ-ô4<br /> <br /> Ä6ΐ¯ÝWϔxWϔxÝÌFE. XML Ýß&ð¥Š3¸à DOM  XSLT[7.2] õ XPointer ¼5½×»ð=” XML Z`KmŠ `EZÝ/ I”x¡u¼ßAŒ E£]”x (data structure) õÎ0'ÝÃF´ Žß‚ 3μmŠ¶ XML vÝPݕ˜È 0`<br /> <br /> P¾• XML<br /> <br /> ú9]«ÝÁ<br /> <br /> 27<br /> <br /> 2<br /> <br /> XML +°r <br /> <br /> 2.5.3<br /> <br /> XbòPKÿ‘îSr<br /> <br /> 3 HTML &ÆBþûððÝTÿàSr.&ý„ÝòP‘R¼ç° p<br /> <br /> E9øݶ°;ðKÑ@ §ïŽ[¯9͑Srݨé?ûC<br /> <br /> #‹µ=×°ç°s»ð ÌK9‚†ÉA Office2000 XDWÝ HTML D 9E HTML Î%‚®Þ¬JÕ XML Qº\Í XML Š—<br /> <br /> ¾Œ Ýúº<br /> <br /> .hSrÝêY÷\òW÷?<br /> <br /> 2.5.4<br /> <br /> ̀!<br /> <br /> ̀}PÑ@݊Oœ9î茼1€Ý©Î¿Í3Tàîtð$ÕÝ ̀ XML }PÑ@]«Ý!ε3h××Ü. 9ÍhÝêýΊ. I YW XML Ý‚Ί¯ œ"2 áµTà¯@îb°9]«Ý! ©b'Œ XML Š—<br /> <br /> Ý8› /ÆmŠá¼ Î×׊Õ9°fZÞ<br /> <br /> ;µ••|¶×Íh£h(ÃôŠ;§5x XML6Ý ;-<br /> <br /> 2.6<br /> <br /> |° J<br /> <br /> b`Î ÎC}Ȩ3ƒ'&ÆÞ! 2.1 Ý XML D|Ñ;.Ïމ <h°> £];W <h°> <(Ì>A¢3 7-11 ç*ç„</(Ì> <®ï>P(h</®ï> <³‰ 0JŽ›="±¬J">120</³‰> <³‰ 0JŽ›="±¬J">90</³‰> </h°><br /> <br /> |îÝ XML D3}Pî^b®ÞÕÎ well-formed Ý XML Z |àî– 5C}ýã6¼××J::¬×Íh!`bË͉D‚v¸àÝÎ!×Ë0 J«{bFMÄT&3Ø°)ìΝ|WñÝÉAÍ×ÍÎ$›Ý<br /> <br /> 28<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 2.6<br /> <br /> |° J<br /> <br /> 8‰¬Î9ÎεÎç­h7BˆïTêTÝ}P÷êƒ'*F -A¢3 7-11 ç*ç„.9ÍoÙhAŒ×ÍÏÞ®ï§5p6€ÎËÑK ¡Ý5•·®ï6(ghostwriter)P(h©Îð3£…‡[þݵ f«î£ËÍ oÙh ;-£‚&ÆÝ XML ý„ŒA¢î÷Õ9Î <h°> <(Ì>A¢3 7-11 ç*ç„</(Ì> <®ï ßó="2">P(h, p</®ï> ......<br /> <br /> ε9ø <h°> <(Ì>A¢3 7-11 ç*ç„</(Ì> <®ï>P(h, p</®ï> ......<br /> <br /> . ®ïßó¢ã<FÝóê¯ §£]ÝPŠ›ÕŒÎ <h°> <(Ì>A¢3 7-11 ç*ç„</(Ì> <®ï>P(h</®ï> <®ï>p</®ï> ......<br /> <br /> ÷  œ € • 2  & Æ ¨ 3 m Š  L ×  ° J ¼ ! P ¸  & Æ Ñ 9  ° ! § DTD[8] (Document Type Definition) ô µ Î E Ø Ë XML Z  3 } P î Ý  L  & Æ  |3Í!5®ï69Í-ôÕ9Ν|Œ¨9gÎ3¢×Í <h°> . . . </h°>  s©Œ¨×gb ×Í-ô‘âø°òPÒ-ô8!µ DÝn;&Í-ôŒ¨Ý5‡Kà DTD ××z½2|Lõ!Pà DTD LŒ¼Ý× XML Tàݼ+§5+ˆ6 |à DTD ¼@-ÍÑ@PÝ XML ZÌ® valid  b°JÝ  XML ºq A DTD ÝL¼@- XML ZÑ@P݊—<br /> <br /> § “validating parser” ^b9Ë<br /> <br /> ݊— § “non-validating parser” <br /> <br /> P¾• XML<br /> <br /> 29<br /> <br /> 2<br /> <br /> XML +°r  3¸à XML `&Æ;ðº¸à DTD B'Œ?ݨW XML +ˆÉA3Ï 1 a<br /> <br /> X+ÛÝ MathML[1.3.1]  SMIL[1.3.2] ‡T¸àã&!¼2ºX׍ÝÝà+ˆŠ• 'Œ DTD p—´{¬ôΣ‚KC&Æ3Ï 8 aºŠÕ DTD Ý+° êG W3C Ñ3@s¾X <Ý XML Schema àÚxýã3쬝<br /> <br /> XML Schema : http://www.w3.org/<br /> <br /> º@˜ã‚ DTD?Þèº?9ݐ??ÝÎ XML Schema 2à XML<br /> <br /> TR/xmlschema-1<br /> <br /> +° DTD £bŠW×}ÝM²î°1 <br /> <br /> 2.7<br /> <br /> ¶b5<br /> <br /> XML ðŒ®Þ/ :<br /> <br /> XML ðŒ®Þ/ (FAQ) b×f®1 XML -ôòP(b^b5¶ŒnÎ<br /> <br /> http://www.ucc.ie/<br /> <br /> bXML 39Fîõ HTML ^Q!9Íb¶Ý¨éµ?f&®¼ÙEj(<br /> <br /> xml<br /> <br /> ¶ÝV—×ø — XML Ñ Unix HÝ®¼Ù¶5ÿœ‚ HTML J Windows õ MacOSj(¶PXÛ9Fš\BÆ©½¥Œ<br /> <br /> 2.8<br /> <br /> CDATA  <br /> <br /> 3 HTML ZN &ƊܻT!îæD`&ƺ.¸wÕ<pre> . . . </pre> T <xmp> . . . </xmp>  s3 XML Š¾Õ9øݐŠà CDATA \ ®C data)CDATA Ý C Î character Cݹ¶3 XML Xb Unicode[3] LÝCD‘ÀZCKÕÎ)}ÝC‚«ê2 §y—ZCÒ £‚Õ9Œ§‚¶÷š: <![CDATA[ zccc<br /> <br /> &; ...... zzzzz<br /> <br /> ²Õ— <<< >>>>>> ê²Õ‹ ]]> 1<br /> <br /> XML DTD Ý+°Îà#µYŠ SGML <br /> <br /> 30<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 2.9 ×èËè! CDATA  | <![CDATA[ R]]> âÝ s/°×‘âÝÑÎ ]]> 9ÍâÝ*r̀£]©ŠÎ)}Ý Unicode[3] CK|ŠãwHÍ 5\ 'ŒW9ø Bÿœ6 Í@9Ñθ'Œ»ú µÎŠÆŒ'ŒW9øÞPTÝý03Õt ±&Æ: HTML Ý <pre> . . . </pre>  sµœì3” Ý </pre> GÄ6 Š `¥Œ.XbÝ < Ðr5®ñ6 < ÍJp<br /> <br /> b.9° < r0 <br /> <br /> WÎ×ͱý„Ý‚®ßŒÕÝ¡Œ XML ƌ'ŒŒ ]]> 9ËH 3^ðZŒ¨ÝÐr4¯&Æ3¶ CDATA  `]-KàB9Íê £ÍÝ &Æ3G«Ï 2.7 ;â—ÄXML Š 5¶.h <![CDATA[ ¶ <![cdata[ T <![Cdata[  µýã!Œ¨3 CDATA  Ý£]Š—<br /> <br /> 3Š—`&B$‚ŠæŠ<br /> <br /> ›×"×è2ø›ì*ÝP}Ý—µ=¢3 sRõ” Ýèç ð•C-ôP°¹šf´ <![CDATA[&ΠsÝÏו &ÎÏޕ ]]><br /> <br /> õ <![CDATA[ &¨3^Õ sÝÏÞ•Ý :-( &^ÕÏë•Ý ]]><br /> <br /> :ÿŒÍÝ!Ï”¡AŒ 3ZÝNÍ CDATA  G9×Íè• Ý•ÉAbYÌî݁JT2à|îÏ×˶°<br /> <br /> 2.9<br /> <br /> ×èËè!<br /> <br /> 3D¡ XML EèçC-Ý §V—G&Æt?E5èçC-6®€@Ý<br /> <br /> P¾• XML<br /> <br /> 31<br /> <br /> E<br /> <br /> 2<br /> <br /> XML +°r <br /> <br /> LXML .èçC-L space tab CR õ LF 9°ÍE space õ tab mŠ9¾•Ká¼9Ë"¬ CR/LF JŠ}1€×ì CR ‚ Carriage ReturnÎÆC^`‚öºì¼ÝÌñ9Í ASCII C-;ð Î2ݸΠMacOS ¿¬îÝð•BrLF Î Line Feed ݹ¶Î Unix îÝð •BrDOS/Windows ¿¬J¸à×Í CR¡å#½×Í LF ¼ýîð• îèÕ CDATA  Eèçõð•C-ð§9Ν|§ŠÝ£‚3 CDATA  |²ÉA3 <-ô> . . . </-ô> ÝZC/÷ 3 HTML ZC/|5×è65Ëè6#‹5ë=è659= è6Œ¼Ý”ŒKº×ø. Ñ=b¿ÍèçןK WÎ×Í9Î. HTML ýã :<br /> <br /> HTML ýã9ø!<br /> <br /> http://www.w3.org/<br /> <br /> ¬Î XML Ñ?8DXML !Xb›yý„|²Ýè犗<br /> <br /> Š×ÍÍD<br /> <br /> TR/REC-html40<br /> <br /> @2ø›ì*P® ×M §. 9ͧ×&ÆÄ6;Ž&ƶPÝêY 3¶ HTML ý¥Z`KßbÊ`ð•#‹¹4 (indent) Ý?êY¯æD z½|\9óç°s Ì#‹º&Æ® “pretty-print”µZݐìÚ xõý„Œ¨Ý›H®y!ݹ4. ¬3 XML AŒ. <®ï> </®ï><br /> <br /> ¶W <®ï>  </®ï><br /> <br /> ÞïÎ×øÝ. ¡ï9Ý×Í tab C-56CGݹ4õËÍð•B r5½3 <®ï> C5 6C¡AŒ.î«Ï×˶°Ý5 6G¡& î×Íèç.ZCõý„âÿ×FÇ <®ï>  </®ï><br /> <br /> £‚Š—<br /> <br /> parse Œ¼ÝêºÎ¨×˔Œ<br /> <br /> 5 %‚Š9ø! HTML £ø!Μ?[6<br /> <br /> 32<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 2.10<br /> <br /> PI ø!#”<br /> <br /> 9Î. ÊÕbÝ XML ZmŠ1ºèçC-ÉAÞ×vÝ/è çKbÍD3݉ÂC©½ŒL AŒ&Ə€@2×å XML PŠ -.èçœ*‚Š³¥æ½ÝÞߝ |3ý„á xml:space 9Í XML /ÝòP 9ø <­ xml:space="preserve" > $r« $r ×w$r </­><br /> <br /> AŒ&Əь¯\ï:Õ9øÞ Þ§Ý­4ݕ ;-)<br /> <br /> 2.10 PI ø!#” XML b×Ëý¥§ PIÎ Processing Instruction ݹ¶ PI Ýý¥Î| “<?” “?>” ” XML …×[2.1] b`ß WÎ×Í PI Ý©»¬}ýR¼ Î;ð PI Îà¼FL ›Š—<br /> <br /> ì*ÝPÝÉA&Əàø![1.2] (style<br /> <br /> sheet) ¼Y;! 2.1 Ý&Ê XML DÑÎà CSS[4.1] T XSL[7.1]KÄ6bÍ^ ׯp<br /> <br /> ἊÕøɜ0ø! hW3C ©½ó¾Ý×ÍÝ =”ø!X'<br /> <br /> ŒÝ PI¶°  <?xml version="1.0" ?> <?xml-stylesheet href="style.css" type="text/css" ?><br /> <br /> “xsl-stylesheet” 9I5Ì® PI Ý êý (target) |îÝ PI Îà¼×åp œ8×ͧ style.css Ý CSS jAŒŠ=” XSL ø!µ¶W <?xml-stylesheet href="style.xsl" type="text/xsl" ?><br /> <br /> 9 #”ø!Ýý㝊 http://www.w3.org/TR/xml-stylesheet ìµ<br /> <br /> P¾• XML<br /> <br /> 33<br /> <br /> B<br /> <br /> 2<br /> <br /> XML +°r <br /> <br /> 2.11 ¢œ¢ .Ý XML ÝÃÍ+°AŒ E'Œ DTD ©½Ž·¶Ý•|ùB7W±Ý` ήÕÏ 8 aå\<br /> <br /> 34<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 3 Unicode 15€ 3.1<br /> <br /> Unicode +<br /> <br /> Unicode Ù×D)(¤LÎ×ÍÞt&î¿èËóBÝZC_DJ)3×RÝÄ æÍK¡ÎãY»&é\äXàWÝ Unicode ˆ º¼.›êÝ3.Â×Í<br /> <br /> Unicode ˆ º :<br /> <br /> t&;•Ý_D›×ÞXbt&îðàÝZCKˆ œ ‚3K&é\¤s»<br /> <br /> http://www. unicode.org/<br /> <br /> ²½`XÍÂÕÝ®ÞE&Æ9°ðmŠ3&ËZCD<br /> <br /> ®»ðÝç­ß1<br /> <br /> Ύ!–å<br /> <br /> ݊ÞWûî0ÝZCÙÙ[/Õ×Í;Ý_D^×9ì3×)BzÝæJ ìÑ΋]T—]ZCNÍC3 Unicode ן|ËÍ bytes ¼‚9ø× ¼µ‹Kb 216 = 65536 Ë!Ýà)1 •|T}êG–9ó)ÝmŠ 3 Unicode 8nÝ&*Z&Æðº:Õ ISO 10646 õ UCS 9ËÍ (ÞISO ΛyÿÝ»jýã ݹ¶¸Xó¾ÝÏ 10646 rý㧠UCS (Universal Character Set)ôµÎt&;àC/|ìÌ5 ;àC/ 6UCS ;àC/݆°Îà°Í bytes ¼_DÞt&îXb¢<br /> <br /> õ¤àÝ_D;<br /> <br /> *×çƼÂÿÈ5ÝÎUnicode ˆ ºŠ 1991 O|¼-õ ISO Ý UCS à Û6g)¯ Unicode õ ISO 10646 1¹×l.h Unicode Š 2.0 Ìõ ISO10646-1 ¸à8!ÝC0õCD ô¦C΅ÝZCµb°0ÚAŒî…«^bݍ›Cõ×°‰ ¶°!Ý^ZC£‚ Unicode 009CÝ5gè 1<br /> <br />  à¼_“CµRDŒ<br /> <br /> &15‹K6Î. Unicode 2àÝ×Ë^ם|T}μ_Dè Õ<br /> <br /> 35<br /> <br /> à¼Ý®Þ}¡ºè<br /> <br /> 3<br /> <br /> Unicode 15€<br /> <br /> Qò¸àøbõ2›ŒZZ°Z‡¿èË̀ZC¸àjE9Í® ÞUnicode õ UCS 2àÝXÛÝ5^8ZJ)6(CJK Unification) ݊X ]n.^8Z‰«Ý“C|×͎D¼‚»A'C3à ›Z…ŠÕW°ËÍèC¬3›ZC^Z©bë<br /> <br /> ׉U<br /> <br /> /Unicode E¯9ˊÝ-½Xbñb°'ÝCŽ}'×Í D¬ÎAŒ×ÍC3Û-½f´•½ºE¸àïCWZŒ§ŠîÝ æpT-`Unicode º ÃËËÌÍͽ_D»AŽC^3ÛÎÚ ¬3›©bË×F×G9XbñŽC^ÝC3 Unicode K&b ËÍ!ÝCD¼‚׍×à B Ä 5  ^ 8 Z J ) 6 Ý “ C  3 Unicode  Ì † UnihanٓC  3 Unicode 2.1 C 3.0 ýãbÞ09ÍٓCٓC¬‘â^ðßþ€ŒÝ “CAô¦CÎÝ&9žC<br /> <br /> A ¥Œ<br /> <br /> Big5 ðŒÝ5n6Cè0 ×D 0xF9D8. ^b[3 Unicode (2.1, 3.0) Ýýã.h˜È 3† Big5 õ Unicode 8!»ðG.9ÍîìÝ5n6ð W¼ŸÝ5…6ÍJ5n6CºŽW “?”Ç ASCII Ý ®r9Î Unicode Ý!0ÕÑ@ETÝC× ŸðW®r<br /> <br /> JÝ Unicode 3.0t±ÌٓC£]0Š ftp://ftp.unicode.org/ Public/UNIDATA/Unihan.txt 쵊Ê× ÝÎ9Í database &ð ø Ä 16Mb  ¢  U € Æ ¢   D ¹ × ì   Í   ¬ ‘ â Ý Unicode õ Big5CNSGB2312-80GB2312-12345SJIS . . . ‡8!ÝET?=¬Èé D ô¦CÎݛH‡KÞ2[3…«t݊¶ Unicode PÝ\ï²×\<br /> <br /> 36<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 3.2<br /> <br /> CÒ»Y<br /> <br /> ïmŠìµ9Í database<br /> <br /> 3.2<br /> <br /> CÒ»Y<br /> <br /> 3&ÆE Unicode h™ã-ߗ×jG&.¿ÍðŒÝÝb(ÞCÌF† ÍhûõJ§9øݕ\ïÆ3å\Õ¡«Ýa;`f´ºZ´]'#‹ Þì×;5”||Ý;6Jð®Ä\AŒ E9ìI5B–:ÿbFáX ½HT©ŠÃ:×ìbÍÃFǝ UTF Î Unicode/UCS Transformation Format ;àC/œÙ×DŽð}Pݹ ¶Unicode ˆ º.¦¸àÝÎ UTF-8 õ UTF-16 9ËË}PÍÝ “8” õ “16” ¼ÝÎ bits ó‚Î bytes 2  UTF-16 ÃÍîµÎ Unicode Ô byte _DÝ@¨î×ÍT}μU†m OÝ_D^לKà쫺—Õ UTF-8 Îס»Ý_D]P3 UTF-8 ìzóCÇ ASCII C-1¹ æÏåÅ(.hmŠ†»ð¬Í€+ZÝ£]JmDÄ P¼†»ð‚vº5Ž`6. NÍCmŠÜ²9à×TÞÍ bytes ¼ _D UCS ;àC/b UCS-2 õ UCS-4 ‡_D]PÍÝ “2” õ “4” ¼ÝÎ bytes ó‚Î bits Eï UTF-8/16£9ËÍêõîÝ UTF-8/16 b ¢!÷Í@-½ UCS-2 ›îµÎ Unicode 2àÝÔ byte _D|Ž2.¸ÆWÎ× ø݋—à hJH9\Ž 2<br /> <br /> ×Í byte ã 8 Í bits XàW8*K©ß<br /> <br /> P¾• XML<br /> <br /> 37<br /> <br /> 3<br /> <br /> Unicode 15€ UCS-4 Î|°Í bytes ¼‚×ÍCÝ_D]PµêG‚Ž3NÍ UCS-2 DG‚îËÍèçÝ bytes-ÿÕ8ETÝ UCS-4 D<br /> <br /> T ? Ì <br /> <br /> Ý]-ÞZ»ð UTF-8 }P&¶Ý×Í»D ̧ ccnv (enCoding CoNVerter)9Í ÌÊ) J¼® UTF-8 õt&î¿èË_D<br /> <br /> Ý»ðtÝ©<br /> <br /> ‘Ν|×gE×Íê9ìXbÝjn®M¼»ð9 Î×ÍPD2ݹðP| Java ¶WêG©b¼ ƒ&«|Ëw€ ìµ/! Big5 õ GB ZÝ H„]°õ¸à1€3hµ¥«ìµF http: //2tigers.net/runpc/xml/runpc_xml_2.html h ²  b × Í   ´ 9  ¬  Î ¹ ð Ý UTF-8 » ð Ì  § uniconv  b Ž à Ì ì µ  http://rosette. basistech.com/demo.html<br /> <br /> XML1.0 ýã!XML Š—<br /> <br /> XML1.0 ýã : http://www.w3.org/<br /> <br /> ‹K6Yî| UTF-8 T UTF-16 _DÝ Unicode<br /> <br /> C™‚ XML …×^b©½¼€_D encoding `Jן| Unicode :<br /> <br /> TR/REC-xml<br /> <br /> 8›ºŠ›Œ?ŒZÎ UTF-8 T UTF-16 êG½«î¿†ÿýÝ XML Š— ¬Ð)ýã!Yî UTF-8/16?Yî Big5GB ‡±öZCD9E&Æ ¼1@@]-99 XML ýã©€Š—<br /> <br /> [2.4]<br /> <br /> Ä6Yî UTF-8/16 ‚rOÈ_D]PA<br /> <br /> Big5 ‡èºYîÎbͼ§Ý. 3 UTF-8/16 õ&Ë»2 PÝ_DA Big5/GB2312/SJIS <br /> <br /> †»ðΜ|ݯ×ËØÍ8›Yî UTF-8/16 ¬¬à<br /> <br /> #Yî Big5GB&Æ3£]íáTíŒ`©Šg)×¼ UTF-8 ↔ Big5/GB ݻ𠛮ǝîèºÝ ccnv »D ̝|<br /> <br /> 38<br /> <br /> îàØ°µì#‹mŠÑŒ<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 3.3 ”||ÝÞ; †CD»ðÉA perl ÝXML::Parser ÿà4Q©íŒ UTF-8¬#å Big5 Ý íáêA NetscapeIE ‡p<br /> <br /> à#Ó¨ UTF-8 }PÝZ.h íŒÝ£<br /> <br /> XML::Parser : http://www.cpan. org/authors/id/C/<br /> <br /> ]ÎÆ՛p<br /> <br /> œ\ݕµ×Š»ðt&b̀‚©Š3ZÝ<br /> <br /> …×Ñ@ۀÎà UTF-8 ǝ ö8ÝÎI5 XML Š—<br /> <br /> õKTà8›3 P°Ñ@ § UTF-8 _DÝC™<br /> <br /> T&€Æõ`HT±ö½Ï %‚39…Š©½úŸ UTF-8 . 9Ît RDÝ — AŒØ XML 8›= UTF-8/16 _DÝ£]KP°Ñ@ §£‚¸Yî Big5 GB2312 ZÝ^£©N?>!Ý &Æ;¸â UTF-8/Big5/GB DÝ£]` ;𺪛×ð(ÍúÝý0G>ŠµÎ×À®rTP°ï]ݔŒ®ï ÑzZTݛ™ 3 UTF-8 õ&ÆYàÝ Big5/GB <br /> <br /> †»ðÑ]-¬‹K¸†5YîZ<br /> <br /> Cð­•1AŒØ8›Ñ@Yî UTF-8¸PµE&ÆbœÝ¿à‰Â 9ôÑÎ XML ýãú×!Š—<br /> <br /> 3.3<br /> <br /> ŠYî UTF-8 ÝÞßX3<br /> <br /> ”||ÝÞ;<br /> <br /> &¢9Í^º.« Unicode 8nÝ&Í¥ŠÌF39ì׿ŠÕz½T E XML ݸàïۋy¶»DPT. Java +ŽÝ\ï‡KbXÃÇ AŒ - . XML ݛ^©ÎÃy?TÞG§y¸à¨WÝ ÌH à#õPDÆø¼£‚î«XèºÝÃÍÃFT&µB•àݹ#Ç9ì ”||ÝI*Þ;QÃ3K´ÌÁ‡§Ï¬ÎAŒ ¿ðô¶×FP ‚vÆՆ&Ë XML ÝsTàݕ£‚˜È .¸\T:LÍÎ UTF-8 _ Dæ§ÝI5&𥊯@î9ìÞ+ÛÝáIJÕ&9̀Ýr½…ô×øå à Java +ŽWindows NT4 Š8 Office 8›‡K2Ã¥Õ Unicode 3 4<br /> <br /> ôµÎG«èÄÝEŠ— íŒÝ£]† ×M¿àÝì*8› 9ôµÎ %‚b°âZCÝ Java 8›3 NT ì|Ñ@•î¬JÕ Win95/98 Ý<br /> <br /> P¾• XML<br /> <br /> 39<br /> <br /> CO/COOPERCL/<br /> <br /> 3<br /> <br /> Unicode 15€<br /> <br /> ó¸†/D<br /> <br /> 3.3.1 Unicode Ýè 5g |ì& Unicode  ›D/|è0 ×î Œ²Unicode Ý 256 ÍCÐõ ISO 8859-1 Ç7ÌÝ Latin-1 —CÒ 8!ÍG–ðµÎ ASCII9ðÎ U+0000 Õ U+00FF  QNÍ ISO 8859-1 DÄ63G«‚î×Íè byte (0x00) ¡Î8EÝ Unicode D õ & Æ b 6 – n ; Ý Unihan Ù “ C  3 Unicode  x Š 5 ¾ 3 U+3400 Õ U+9FFF <br /> <br /> h² U+F900 õ U+FAFF <br /> <br /> ôb×°¯@î Big5 õ GB2312<br /> <br /> ݓCõÐrK3U+4E00 Õ U+9FFF 9s…«<br /> <br /> 3.3.2 UTF-8 Ý_Dæ§õ©P á¼Ý—CÒõ“C3 Unicode Ý ›¡&Ɲ|— UTF-8 3!% 3.1  N×Í]s‚×Í bit ä‘]sX‚ݛ- — 0 T 1 — ÎiiŽ Ý ‘]sX‚Ý&Í茼ݛ-JJ¼Dw Unicode /D×N]s âÍ‚×Í byte UTF-8 bë˝Ý4]P&ŠmŠàÕ×ÞT ëÍ bytesX|1¸Î‡»NÍ Unicode Cж¸3ýã5ÕÝD› ¼X9ÍCÐ3»ðW UTF-8 `Œàø×Ë4]P|¿Í bytes ¼_4&Æ 3%¼]|:Õ3 U+0000 õ U+007F <br /> <br /> ÝCÐÇXb ASCII DÎ|<br /> <br /> Ï×Ë]PŽ byte ¼î¬. Ï×ËPÝÏ×Í bit Î 0X| ASCII D  0x00 Õ 0x7FqÍmŠ»ðµŠQÎ8EÝ UTF-8 DDļ1©Š ÎASCII 3 UTF-8 µ×mŠËÍ|îÝ bytes ¼_D Unicode a3 U+0080 – U+07FF Pš<br /> <br /> ÝCÐJ|ÏÞËP¼ýî‹y<br /> <br /> Xb̀yì¼ÝCБÀXbÝZCJן|ÏëËP¼_4 |Š<br /> <br /> 40<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 3.3 ”||ÝÞ;<br /> <br /> % 3.1: UTF-8 Ý_Dæ§ <br /> <br /> Õ×Õ: UTF-8 ÝëËP&ŠèºÝŠã bits  ‘]sóÎ͕|à ¼‚ET ›Ý& Unicode DŒnÎâ?Èà £‚ P3 § UTF-8 _DÝZ`ŠA¢ÿá×ÍCÐÝ&a3ø… bÕ9¸Î|ëËPÝø×ˌ¨Ý÷9µÎ% 3.1 £°ä‘]sÝ®à ÝNÍ| UTF-8 _DÝCÐÑÎ|×ÞTëÍ bytes ÝPŒ¨Ï×Í byte ÝGÐKz½2ýî݌CÐÝ byte ÀóÉA 110 bËÍ 1 ǂ9Í CÐÎ|ÏÞËPŒ¨ãËÍ bytes àW‚ 1110 bëÍ 1²îÝ9ÍC ªàëÍ bytes  NÍ9¥ byte Ý UTF-8 Db×Í;Ý©PÇÍÏÞõÏëÍ bytes ן | 10 9ËÍ bits RãyÍt{Ý bits5 ÀÎ'W 1|œ|õ£°3 UTF-8 ©àÕ×Í byte Ý ASCII C-5½¼]-Œý . î–Ý'Œ©FUTF-8 õ Unicode  5<br /> <br /> |œD|2†Ô'Šã»ð‚<br /> <br /> êÌ5t¥ŠÝ bits6zZ1 “most significant bits” <br /> <br /> P¾• XML<br /> <br /> 41<br /> <br /> 3<br /> <br /> Unicode 15€<br /> <br /> ºø´¢£]¯@î9ÎXb UTF Žð}PXÄ6”•ÝÃÍ©P¾Õ9 ͊Oݎð}P-^£}§ UTF<br /> <br /> 3.3.3 UTF-8 Ý8F ¨*9é\Ù)Î| byte Ž-¼†DãAŒà#| UTF-16 Ô byte¼ Dã£]º®ß&9®Þ.Ä C Ý\ïKá¼ 0x00 9ÍC-Îb©„®àõ ŒLÝ‚î«âýÕ UTF-16 Ý 256 ÍCDÝÏ×Í byte œ»2ÑÎ 0x00 ÏÞÍ byte JÎ8EÝ iso8859-1 CD.hAŒà UTF-16 ¼îj( ç뇺‘Œ&9®Þ‚v©Î 0x00̀b¿Í©„C-ôKõ& 9¨•Ý®¼ÙÐP<br /> <br /> (libraries) ‡8Ž<br /> <br /> h²UTF-16 C&9±ö2 ¨•ÝÔ byte _D]P3Tàîb°FÝþ \ÉACC<br /> <br /> Ý&?0P3 §`Ä6+àÑ@ê20<br /> <br /> ŒØÍCÝ&þz[£h²8*Kb9øÝB™b`ÎZZØÍ 2]ýl×Í byte `Xb39Íäý¡ÝZCKºû*×àûÕìÍzó CTèçC-Œ¨ c |î9°®Þ3 UTF-8 KD3Š0CCÝ&œ|©Š:êG9Í byte Ý¿Í bits :Î 0 110 1110 Î 10 -œ"20Õ¨39ÍC Ý&AŒÂÕû*ÝCôºrq¡×ÇCUnicode ýã!`b€Z ! UTF-8 }PÝZb)§Ýà)Œ¨`Œ§‚ H»A$ÕÏ×Í byte Î| 1110 R¬ì×Í byte Q| 0 ‚ÎÑ@Ý 10 R<br /> <br /> 3.3.4 UTF-8 ÝþF ào׏µá¼9óZC3 UTF-8 ìKºµªLÍÎ^8Z3t¶ ݵìÇJSZa⢗Z`ºŽWæ¼Ý 150% E&Ƽ1Ý@b Fé<br /> <br /> 42<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 3.3 ”||ÝÞ; ¬¨×͍—¼:AŒ;à UTF-16 ¼†ZCDüQº¦±öZCXªÝ KÎËÍ bytes ¬E—Z¼1Q‡y¯XbÝZן¹9f<br /> <br /> è<br /> <br /> µª×¹–\ &Æ'– 2ì3€ÆÝñ¼ôpM&9—]t&Ý8›¼ïõP'Œ/ E Unicode ·¶þþLÍÎ3Ĝ B7›õ{É}^ ËO9‚-!Ý` Î bÝ UTF-8 ó¾9ÝzZZm¢»ðµŠQÐ) UTF-89E'zZ t&Ý8› ®ï2Ù Unicode bœÝQñb *ç­î9óéZK ÎzZ .h¯ Unicode 3t&î">.ÂÝÌF¼:UTF-8 ´ ×͝• Ý5=]n¸Ý8F«{ÄyþF<br /> <br /> 3.3.5<br /> <br /> UTF-16 ݂§E<br /> <br /> îèÕISO 10646/UCS ¸à°Í bytes ¼_D.hŠT}μÝU†mO 1ââbõ8E2Unicode ©àËÍ bytes¬è<br /> <br /> œ|༂vAŒŠ<br /> <br /> 3μµõ ISO 10646/UCS 1¹È;TÄmŠ×Ë^×¼R‚ËÍ bytes Ý • ‚§E (surrogate pairs) Ý'Œ-39ÍeÿìTº‚ß Unicode ÞPš3 U+D800 Õ U+DFFF <br /> <br /> Ý ½1º›‚§E¸à9Í ½ê<br /> <br /> t5WËI5̆5{±I6Ï×I5{IÎ U+D800 Õ U+DBFF ÏÞ I5±IJyìÝ U+DC00 Õ U+DFFF{±ËI&b 1024 ÍD›.hDÄ 9Í^×Unicode -9û×y90ÍC (1024 × 1024) Q9°à‚§E^ ×¼_DÝCÄ69à×Í Unicode ÝÃ͎-X|§‚§EôµÎ׊ °Í bytesf´Bz ‚§EÝ_D^×õæmŠ¸à‚§EÝ00ëû9ÍÃÍ Unicode D) R¼§ UTF-16<br /> <br /> P¾• XML<br /> <br /> 43<br /> <br /> 3<br /> <br /> Unicode 15€<br /> <br /> T&ºMÉQ‚§EÎ'Œ¼T}μCóU†ÝmŠ£ %‚¯{<br /> <br /> ±ËIÝ ›¥PôµÎ¯ËIK†5¸à U+D800 Õ U+DFFF 9Js1º  ½ %‚Š â. 9‚×¼CÝ&œ|ßé!`3P{ — Ǹb× ËÍ bytes ýlôº¡««½i 3¨•Ý Unicode ýã2.1 õ 3.0 ̬^b›àՂ§E¼_C#ì¼ ¿O/ÃôºàÕ. ‚§E|²Ý009 ›B•|T}*^9ó )ÝmŠÑAh&Ɲ|¿àÍÝ{à 9Îì×;ÝxÞ<br /> <br /> 3.3.6<br /> <br /> {à <br /> <br /> Unicode 1ºÝës{à ¶PÝߝ|J¼ŠãºàÍËs3‚§E Ý ½6g)‚§EÝ_D]PÇ UTF-16¼¸àAŒ&ÆÝPmŠàÕ Unicode ^b[ݞCT©„Ðrµ|¿à{à ¼£°CІ_D Unicode Ï×s{à  U+E000 Õ U+F8FF 6,400 Í ›‚§EÝ {à J‘À 0xF0000 -- 0xFFFFD õ 0x100000 -- 0x10FFFDVèë0Í  ›<br /> <br /> 44<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 4 XML ;õ 4.1<br /> <br /> CSS á<br /> <br /> ny XML + DOM + CSS |C XML + CSS + Zý„3p<br /> <br /> îÝTà@»š<br /> <br /> õ`¢&3 Run!PC \ݠÝ» http://2tigers.net/runpc/ xml/runpc_xml_3.html h²&3Ï 70 1999 O 11 ` Ý Run!PC Ó*b×S DOM õ CSS Ý<br /> <br /> Run!PC Ó* : http://www.runpc.<br /> <br /> á¼Sb·¶Ý\<br /> <br /> com.tw<br /> <br /> 4.1.1<br /> <br /> óCP (selector)<br /> <br /> <br /> <br /> 45<br /> <br /> 4<br /> <br /> 46<br /> <br /> XML ;õ<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 5 (Ìè<br /> <br /> (Ìè<br /> <br /> (namespace) ÝÃFE XML &ð¥ŠAŒKݸXML ÝTàPšº<br /> <br /> 2åÕ§×AŒ ºà Perl T Java £‚ œB3¸à(Ìè<br /> <br /> ‚<br /> <br /> ŠáÝ1  (Ìè<br /> <br /> Ý!¬^b[3 XML 1.0 Ýýã‚ÎDÄ¡¼× Ž}Ýýã<br /> <br /> ¼†¦‚9 ýãÝ(§ “Namespaces in XML” <br /> <br /> XML 1.0 Ýýã : http://www.w3.org/ TR/REC-xml Namespaces in XML : http://www.w3.org/<br /> <br /> 5.1 <br /> <br /> %‚mŠ(Ìè<br /> <br /> TR/REC-xml-names<br /> <br /> ƒ'&ÆbÍ XML Ýé;GÝà¼DwˆV£]Bµ¿^¼?Ý2¥ˆ V <ˆV(Ž> <ˆV> <!-- ˆVä --> <(Ì>±Æs</(Ì> <2ë>...</2ë> <é•>...</é•> <fax>...</fax> ...... </ˆV> <ˆV> <!-- ˆVØ --> ...... </ˆV(Ž><br /> <br /> Äb°ˆVμ™Ýõñ ¼Ý;ð3õ9°ˆVÝ=š]«KÎDÄ& .ݼ™Ýõ‹y¼™ÝõÝ=šé•email ‡KÞB32¥Ý¨× XML Z — 5õ (Ž6 1<br /> <br /> 39ËÍ+Ž(Ìè<br /> <br /> ÎDÄ package ¼@¨Ý<br /> <br /> 47<br /> <br /> 5 (Ìè <õ (Ž> <õ > <!-- õ ä --> <(>...</(> <I>¼™I</I> <™›>Ýõ</™›> <`Þ>36000<`Þ> <é•> <5^>...</5^> <î>...</î> </é•> <email>...</email> <fax>...</fax> ...... </õ > <br /> <br /> Ý=š]-&Ə3 <ˆV(Ž> ¦×4 <=šß> à¼Dw¼™Ýõ Ý£]9ø &Ɗ=šãÝõ¼.݈V`-|yîἌ0ø›ÝõÆ øÍé•‹y¼™ÝõÝ=š£]J|à# <õ (Ž> ³ãð­•1 µÎ. <õ (Ž> ÝI5£]õ <ˆV(Ž> ”) 3×R 9ø <ˆV(Ž> <ˆV> <!-- ˆVä --> <(Ì>±Æs</(Ì> <2ë>...</2ë> <é•>...</é•> ...... <=šß> <(>...</(> <é•> <5^>...</5^> <î>...</î> </é•> ...... </=šß> ......<br /> <br /> ‡‡ 5é•69Í-ô[2.2]¥¸àÝ ð­•15ˆV(Ž6õ5õ (Ž6 9Ë XML +ˆ[p.29]AŒwÕ×sàºÆÚ4QEß\¼1¢½5—îìZ |œ|ÞË͌ !Ý <é•>  ½¬Eé\P¼1:NµŒÿ£‚ |Ý.h39˵ì&ÆmŠÝÎ׍Ž€¡Ýð°¯^<br /> <br /> 48<br /> <br /> 3 §Ý`<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 5.1 <br /> <br /> %‚mŠ(Ìè<br /> <br /> ÎàJ\ŽǸ^b¢(ÌîݎM&Æ)mŠ×͍ŽÝ]°¯é \á¼ø°-ô¼ŠyøÍ+ˆ|-¸àŒ+ˆÝ DTD[8] ¼@-Z”xÝÑ@ P bÝ\ïBÕ×͝•Ýð°Ý£µÎ. <ˆV> 9ì×°HÄTÙ Ý-ô( 5(Ì652ë65é•6‡ןCî5ˆV6ËCôµÎ. ¸Æ5½;W5ˆV(Ì65ˆV2ë65ˆVé•6.(ÝÞ@×Fh ² <õ (Ž> Ý×°-ô(ô|ïðÉA5(6õ5é•6|5½; 5õ (6õ5õ é•69øµ|ª±(̎MÝ^£Ý 9Ý@Î͝•Ýð°Ä9‚†Ä6?› DTD …ÝL¬ŒÿXbÝ DTD KÎã&ÆÏW'ŒÝ2 Î1;µ;µÕË;Ý&ƵP°@1*¡º ÂÕ̀²¼Ý!(-ô (Ìè<br /> <br /> Ý'Œ-39øÝeÿìTº‚߸ÝÃF&ðà# — AŒN<br /> <br /> XML +ˆ[p.29]K&Šà×Í}×PÞÝý*¼‚¬v3¸à`.9Íý*õ+ ˆÝ-ôòP(=3×sɸൖEºõ̀+ˆ4zÝ. NÍ+ˆ Ý(ÌKBŒ+ˆÝ}©ýîD›Ñø§ (qualify) œÝÍ@9͊ X]nõî«èÕÑ;ý„(Ì݆°b°v« â&ÆÎ.5ˆV6Þ C3ŒLâWÝ(ÌA52ë65é•6G¯5ˆV(Ž69Í+ˆ…Ýô(Žÿf´}© ‚3Kõ̀+ˆRŽMÝ^º‚(Ìè<br /> <br /> ݆°Jί_<br /> <br /> ¶ XML ZÝßZXàÕÝ+ˆŠ•¼ýîD ×Í}©ÝýîD‚×+ˆ&+ˆÝ(Ì.‚&ÿÍXbŠ Ý þ›è 5(Ìè<br /> <br /> 2<br /> <br /> 6Ýú(ÑÎãh‚¼<br /> <br /> ¯@îµ 8›×ø9óߺœ$ DTD 'ŒÝ‹—‚ºà#¿à¨WÝ DTD XLŒ¼Ý +ˆÉAã×Í!¼ º×Œ¼Ý<br /> <br /> P¾• XML<br /> <br /> 49<br /> <br /> 5 (Ìè<br /> <br /> 5.2<br /> <br /> (Ìè<br /> <br /> Ý <br /> <br /> eƼ:: XML Õ9óà%‚¼†(Ìè<br /> <br /> 5.2.1<br /> <br /> ÝýîD<br /> <br /> ýîÎ<br /> <br /> î«BèÕýî‚Dt¥ŠÝ©PΊ}×PÞ9|¢ãœ9Ë]P¼¾ ÕÉAêG Internet îÝç½(-Î}©Ý “2T.com” ß«×Mۉ ”Ý :-/&µåš×øÝ(‚©ÿ;à “2Ti.com” ۉüQÎ×Ë] °¬&ƏAŒ XML (Ìè<br /> <br /> ôŠûï DNS ½(Ù£øãÝ.^x¼5<br /> <br /> gѧ£¬ºŽÿœÓ‚vºœ^[£¸àGÿۉ#‹ÿ}ð ¢?=ʽ«?(ÝBéKº¥‰ ;-) XML 2àÝ×Íπ-Ý]°¼¼(Ìè<br /> <br /> ÉQç½(BÎ}©Ý£<br /> <br /> ¢à#¿à.Á˜3¸îàç뼂(Ìè HŒQÎ{ 9ø×¼.-5.<br /> <br /> ÷3 aŒ9aHÁ<br /> <br /> 6›&2¥^n¼.. &^nEw<br /> <br /> 3Š ç½9ìÝçëTŒbÝxJX|×6(Ìè<br /> <br /> ýîDݼ ®<br /> <br /> µÙÙø›_¶ XML ZÝß¼X ‹yçëÝóC®Þ4Q(Ìè<br /> <br /> ÝæêÝ©Îà¼E× Z!Ý<br /> <br /> +ˆ| â¼øÍçëŒÿc¥Š©Š â¼µ?XàÝçë# ‹mŠD3 ¬3hÎ˜È òW?êY — h&ÆÝç½3^Çÿß .&GŠB5Ãà6ÉAJ W3C T̀á(2¥Ýç½(¼9_×Íç 뛊 'ŒÝ+ˆ (Ìè<br /> <br /> àµΜ?݆°4 KTŒ©àòyŠ<br /> <br /> homepage 9ìÝçë<br /> <br /> 3 4<br /> <br /> Java Ý(Ìè ôÎàv«Ý]°à#Úx3 DNS ½(î ‰ïÝ@ŒÄbß9‚†<br /> <br /> 50<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 5.2 (Ìè<br /> <br /> Ý <br /> <br /> % 5.1: URL  URN õ URI Ýn;<br /> <br /> 5.2.2<br /> <br /> URL  URN  URI — ½¢ZWÝ<br /> <br /> &ÆYÌÝ5çë6lîÎ8 y URL Í@(Ìè<br /> <br /> Ý!àÝÎ URI ¬ <br /> <br /> ݯ\ï|§Š&ь3î¸àf´!Ý5çë6×ÞURI (§ Uniform Resource Identifier Ù×£ÙýîD9Î×Í Internet ýãBµy RFC 2396‹y×ß´ !áÝ URL ×ÞJÎ Uniform Resource Locator Ù<br /> <br /> RFC 2396 :<br /> <br /> ×£Ù›Dݹ¶£ URL õ URI tÝ(²bˆ!÷š:% 5.1 <br /> <br /> http://www.ietf. org/rfc/rfc2396.<br /> <br /> Ý/)n;ÃÍîURI f´ÂL ½¼Xb|C™ýîÝç­£ÙPšˆÝ URL õ URNURL ¼ÝÎýb;*ÜA HTTP  FTP  GOPHERÝC™5  URN (Uniform Resource Name) J;ðà¼ýî¹ò6 ‚vbÝ.^x.Ý£ÙÉA %h Ý%hÀê 39Íh5çë6×Þàÿf´ê÷‚ URL ô¼ URI <br /> <br /> 5 6<br /> <br /> b.®Ý1° 5€@ýÙÝãÿH5CѼ݂D6 çìç°Ý.ú8f<br /> <br /> P¾• XML<br /> <br /> 51<br /> <br /> txt<br /> <br /> 5 (Ìè<br /> <br /> 5.2.3<br /> <br /> (Ìè @»<br /> <br /> 3D¡(Ìè<br /> <br /> ݅×]PGš ®Í5W`ï6<br /> <br /> <?xml version="1.0" encoding="UTF-8"?> <k:ˆV(Ž xmlns:k="http://foo.bar.com/xml/customer.dtd" xmlns:õ ="http://foo.bar.com/xml/employee.dtd"> A <k:ˆV> <!-- ˆVä --> <k:(Ì>±Æs</k:(Ì> <k:2ë>...</k:2ë> <k:é•>...</k:é•> ...... <k:=šß> <õ :(>...</õ :(> B <õ :é•> <õ :5^>...</õ :5^> <õ :î>...</õ :î> </õ :é•> <õ :email>...</õ :email> </k:=šß> </k:ˆV> <!-- ˆVØ --> <ˆV xmlns="http://foo.bar.com/xml/customer.dtd"> C <(Ì>!$Ä</(Ì> <2ë>...</2ë> <é•>...</é•> <fax>...</fax> <=šß> <õ :(>...</õ :(> <é• xmlns="http://foo.bar.com/xml/employee.dtd"> <5^>...</5^> D <î>...</î> </é•> <õ :email>...</õ :email> </=šß> </ˆV> </k:ˆV(Ž><br /> <br /> A!î«Ý»3ý¥(Ìè<br /> <br /> Ý XML Z º:Õ×°-ôòP([2.2]<br /> <br /> ÎàAr.ËÍ(=3×RÝ<br /> <br /> 52<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 5.3 (Ìè<br /> <br /> 5.3 5.3.1<br /> <br /> (Ìè<br /> <br /> ݅×<br /> <br /> ݅×<br /> <br /> GHC™<br /> <br /> &ÆBá¼(Ìè<br /> <br /> Ýæ§Î¢½5}©ýîD+(Ì6Ý]P¯NÍ XML +ˆ<br /> <br /> Ý-ôòP(KbŠ ÝF2‚ºõ̀+ˆÝ(!«28𭕠1CîÝýîDNÍ(µŽÿ}×PÞ<br /> <br /> B×\8×\3®Ý5î«Î1ÕXML óà URI ¼†}©Ýý îD[Î×Ý URI çëKËÝAŒà#J¼w3-ôòP(G¸à ÎÎH3ÝFAŒà͍y݂r¼‚ URI µ?Ý6 Ñ@ URI ¬H‚v…«??âb×° XML +°!Ýà®-ôò P(ÝC-ÉAçë×KbÝ “/” .h¸à‚rGÎ Ý-¿?ÎT3 ĕ9ø݂r3(Ìè<br /> <br /> Ýýã§5 GHC™ 6(namespace prefix)ã_<br /> <br /> ì XML ZÝߊã¼GHC™©âb XML ýã.&®òP(ÝC9‘À ÝzZCÒõXb[3 Unicode[3] ݓCbXML ýã.Xb| “xml” 9 ëÍCÒÝGHC™1º®©„àHX|¸àÝGHC™&à9ëÍC Ò¼RÑÎ “xml”  “XML”  “xMl” . . . %‚øݶà)K| àGHC™¼‚(Ìè<br /> <br /> Ý ý î ç ë  µ ? f & Æ à Unix î Ý symlinks <br /> <br /> Windows 9ìÝ shortcuts $5T MacOS …Ý aliases ¼‚jn­5×ø ©Šsì¼'ݐµ?ã®%‚(CÅÎÍgu΍y¾Œ QÎt? 9øÉ]-h¶ê¿yå\¯@îXML 8›3 §ZGºÞXbGH C™æW¸ÆX‚Ý URI £GHC™õ¸X‚Ý(Ìè<br /> <br /> ŠDÄ%‚ø݅×]P.¸Æ<br /> <br /> nÐ3×R÷9ÿDÄ×Ë©½ÝòP¼¾W — 9vòPÝòP(ן| “xmlns:GHC™” ÝPŒ¨7 ‚òPÂJÑΌGHC™XŠ‚Ý(Ìè 7<br /> <br /> <br /> <br /> xmlns Ý ns Î NameSpace ݹ¶<br /> <br /> P¾• XML<br /> <br /> 53<br /> <br /> A<br /> <br /> 5 (Ìè ôµÎ×Í URI òP(Ý xmlns õGHC™<br /> <br /> Ä6|zZÝAr (:) 8=.<br /> <br /> ArBó®5âBrb©„ݐàX|GHC™|àAr×ÍJ Ý(Ìè<br /> <br /> …×3× XML Z¶R¼µ 9ø<br /> <br /> <?xml version="1.0" encoding="UTF-8" ?> ...... <Ø-ô xmlns:ØGHC™="http://some.uri.com/some/namespace" > ...... </Ø-ô><br /> <br /> A ¥Œ <br /> <br />   º 3 × °  B Ä ` Ý XML h ° T Z   : Õ <?xml:stylesheet ...<br /> <br /> ?> Ý PI[2.10] ( Ì … « b A<br /> <br /> rõ&Æ3Ï 2 a+ÛÝ <?xml-stylesheet ... ?> ¸à - rbŒá9ÎaªÝöª — stylesheet PI X|9aAr;à=CrÑÎ. õ(Ìè<br /> <br /> Ý'Œ<br /> <br /> 8ŽM<br /> <br /> . (Ìè<br /> <br /> ΢½òP¼®…×X|Ä6µ!3×Í-ôý„…«‹yŒw<br /> <br /> 3øÍ-ô…Š:@jmŠ‚&Æ}¡ºjE9ͮޮ1€ Š3× XML Z!`¸à9Ë+ˆ9ÑÎ(Ìè +ˆÝ(Ìè<br /> <br /> ÝêÝ©ŠÞ&<br /> <br /> õGHC™L…×?Q¡ÚmŠ3-ôTòP(GCîÊ<br /> <br /> ÝGHC™¬ÞÞï|Arâǝ9ø×¼¬øÍ(̼ŠøÍ+ˆ 5ÿ×zÞ½?àHTºb!(ݎMbÝ9øÝ^×G«èÕÝ5ˆV( Ž6õ5õ (Ž6”)¸àݮޝ|i”2ÿՊXÝ <k:ˆV(Ž xmlns:k="http://foo.bar.com/xml/customer.dtd" xmlns:y="http://foo.bar.com/xml/employee.dtd" > <k:ˆV> <k:(Ì>±Æs</k:(Ì> <k:2ë>...</k:2ë> <k:é•>...</k:é•> ......<br /> <br /> 54<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 5.4 (Ìè<br /> <br /> ÝP<br /> <br /> <k:=šß> <y:(>...</y:(> <y:é•> <y:5^>...</y:5^> <y:î>...</y:î> </y:é•> <y:email>...</y:email> </k:=šß> </k:ˆV> ...... </k:ˆV(Ž><br /> <br /> 3î»http://foo.bar.com/xml/customer.dtd Î&ƛ5ˆV(Ž6 9Í XML +ˆ¼Ý(Ìè<br /> <br /> ýîDhttp://foo.bar.com/xml/employee.<br /> <br /> dtd Î5õ (Ž6ÝýîD ÝÆC6æRŒ&Æà k 9ÍGHC™8 ¼‚ 5ˆV(Ž6Ýýîçë (xmlns:k="http://...")à y ¼‚5õ (Ž6 (xmlns:y="...")&Æ!`ô:Õ×Í-ô…«|wH9Í xmlns ÝòP… ××˅×?Ý|¡©ŠÞ&Í-ô(KCîÊ ÝGHC™øÍ-ôhòøÍ +ˆ5ÿzz½½<br /> <br /> 5.4<br /> <br /> (Ìè<br /> <br /> ÝP<br /> <br /> P (scope) ÝÃFEP'Œ&𥊃'&Æ.î«Ý»;¶W<br /> <br /> B<br /> <br /> <k:ˆV(Ž> <k:ˆV> <k:(Ì>±Æs</k:(Ì> ...... <k:=šß xmlns:k="http://foo.bar.com/xml/customer.dtd" xmlns:y="http://foo.bar.com/xml/employee.dtd" > <y:(>...</y:(> <y:é•> <y:5^>...</y:5^> <y:î>...</y:î> </y:é•> <y:email>...</y:email> 8<br /> <br /> C™ (string) |©âb×Í#‹ëÍC-èC™<br /> <br /> P¾• XML<br /> <br /> 55<br /> <br /> 5 (Ìè </k:=šß> </k:ˆV> ...... </k:ˆV(Ž><br /> <br /> ;¡Õ <=šß> Ý2]…×9ø×;¡4Q)¾Õv«<br /> <br /> ôµÎ.(Ìè<br /> <br /> ݐ[.˼Ù!Ý-ô 5¬(Ìè<br /> <br /> XˆÝP;ŽXbRCI<br /> <br /> 5Ä6œ*ÍJµÎý0 %‚. <ˆV(Ž> õ <ˆV> 5½Î <=šß> Ý ÞÒõÒ-ô·ùŠf <=šß> { <=šß> Iœ@Æ ;-)¬ÎŠI·ùf¸ ±Ý-ôA <(>  <î> JήÞ . (Ìè<br /> <br /> bPÝ©PX|&Æ3-ôHæ(Ìè<br /> <br /> …×`Äވ<br /> <br /> ·ùÝ®ÞÊ œtŽÝ]° QÎ3t²šÝq-ôý„….XbÝ( Ìè<br /> <br /> õŠ¼ÝGHC™K××L?9ÑÎG×;»݆°AŒŠ3Z<br /> <br /> H EØ(Ìè<br /> <br /> ®…×Jt?@Xb¼Š9Íè<br /> <br /> Ý-ôK…×X3Ý<br /> <br /> -ôXˆÍJP&Î3_¶ XML `›Š 9xjì. ŒÝ9ÍP¡N mŠàÕ!×Í(Ìè<br /> <br /> 5.5 C<br /> <br /> ï'Ý(Ìè<br /> <br /> XML (Ìè<br /> <br /> bï' (default) ÝÃF^bCîGHC™õArÝ-ôòP(×<br /> <br /> ŸÚ 3ï'Ý(Ìè Ìè<br /> <br /> `êÿ¶×™…××g<br /> <br /> 9ìA!×Ý(Ìè<br /> <br /> &Ɲ|Dą×.ï'Ý(<br /> <br /> ý¸Ý¶°õG«+ÛÄÝ xmlns:GHC™="URI" œ ¬KÝA<br /> <br /> rõGHC™9I5ôµÎŽW xmlns="URI"ð­•1&Ɲ|.ï'(Ìè ÝGHC™WÎèC™î«ÝP»AŒ;àï'è<br /> <br /> ݆°¼¶µWÝ<br /> <br /> <ˆV(Ž xmlns="http://foo.bar.com/xml/customer.dtd" xmlns:y="http://foo.bar.com/xml/employee.dtd"> <ˆV> <(Ì>±Æs</(Ì> <2ë>...</2ë> <é•>...</é•><br /> <br /> 56<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 5.5 ï'Ý(Ìè ...... <=šß> <y:(>...</y:(> <y:é•> <y:5^>...</y:5^> <y:î>...</y:î> </y:é•> <y:email>...</y:email> </=šß> </ˆV> ...... </ˆV(Ž><br /> <br /> 5ˆV(Ž69+ˆ¨3¼ ï'Ý(Ìè (Kº-®Îòy9Íè ï'Ý(Ìè<br /> <br /> ¢^bGHC™õArÝ-ô<br /> <br /> <br /> <br /> |3ZŽ¼Žœµ ×ÍGHC™3!× Z<br /> <br /> |¡õ!Ý URI ™=×ø¬&…×Ä×g¡µà©Ä¡«Ý…× º«G«!(݅×ÉA <ˆV(Ž xmlns="http://foo.bar.com/xml/customer.dtd" > <ˆV> <(Ì>oɸ</(Ì> <2ë>...</2ë> <é•>...</é•> <çë>...</çë> ...... <!Û> <!-- ;à HTML ¼®ï'è --> <p xmlns="http://www.w3.org/TR/REC-html40" > hˆV8 p‚v<b>&ð¾</b>õ€Æ€1TËGt?Õ€Ý <a href="http://jerk.com/boss/" rel="nofollow">Íßçì</a>œ::€t‡KÔ%‚ </p> <!-- Ò HTML (Ìè ÝP --> </!Û> ......<br /> <br /> 5.5.1<br /> <br /> ï'è<br /> <br /> PÐ)ºà<br /> <br /> î«ÝP»»ú2¿àÕï'è<br /> <br /> õPÝ©P.5ˆV(Ž6õ HTML Ë+ˆ<br /> <br /> &ŠÝP5Ý×zÞ½Xb3 <!Û> …«ÝI5‘â <!Û> 3òy<br /> <br /> P¾• XML<br /> <br /> 57<br /> <br /> D<br /> <br /> 5 (Ìè HTML Ý(Ìè ZÝï'è<br /> <br /> ŒÝ <!Û> |¡5ˆV(Ž6Ý(Ìè<br /> <br /> ꥱß[¬Æ<br /> <br /> <br /> <br /> 9ÍP»!`"îݨ×Í@àÝ*» — ø=”4Q XML bŠ Ý=”]P XLink :<br /> <br /> )Ì XLink/XPointer 3øîŠf HTML ݍŽ=”ÿPúîè¹y¹<br /> <br /> http://www.w3.org/<br /> <br /> ¬ÎêG9Ëø=”+°K‚º3'n$ð$În ÑPýã‚p<br /> <br /> ÝY<br /> <br /> xlink XPointer : http://www.w3.org/<br /> <br /> îô&ðb§.hÃà HTML Ý <a> ý„¼®=”´ ×͜?ÝÄ,ŠX ]n<br /> <br /> xptr<br /> <br /> . HTML ý„Ê`Z XML 9a&ð?à©Î®ŽÝø=”|† Ž (form). XML ¬^b/˜ŽÝ9 êGô^b×Í;•Ý “FormML” ý ã.hŠ3 XML Z!p¬v3p -Ý]°µÎDÄ(Ìè<br /> <br /> Ñ@2•¨XŒt]<br /> <br /> . HTML Ý <form>  <input> ‡-ô/¶Õ XML j<br /> <br /> Mozilla :<br /> <br /> n…œIE5 õêG)3s"Ý Mozilla (Netscape 5) KYî9ø݆°×6µA<br /> <br /> http://www.<br /> <br /> !3 HTML ×øô|g) ECMAScript[p.14] Ç JavaScript¼Æ•®&˯<br /> <br /> mozilla.org<br /> <br />  §›® (event handling) A onClick  onMouseOver ‡ ì«Ý XML DAŒŠ3 IE5 Ñðº®Ä6¼×ͲIÝ CSS ø![4.1]9 Í CSS jÅŒÿ׊D3¬ÎAŒ^bî£• PI[2.10] IE5 ºà¸/˜Ý CSS ø!¼Ó¨ XML ZŽõ#”Ý[ŒKºŒ¼ <?xml version="1.0" encoding="Big5" ?> <!-- IE5 Ä6g)²I CSS --> <?xml-stylesheet href="ie5_needs.css" type="text/css" ?> <?Ž xmlns="http://put-your-URL-here" xmlns:html="http://www.w3.org/TR/REC-html40"> <!-- Ãà HTML ý„¼d” --> <html:a href="http://2tigers.net">=ÕËw€ </html:a> <!-- Ãà HTML Ž¼†¶ --> <html:form method="post" action="put-your-action-here"> <html:input type="submit" value="¶&" name="clickme" /> </html:form> 9<br /> <br /> q͝b. XML ©ÄÎÍø+Ž<br /> <br /> 58<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 5.5 ï'Ý(Ìè<br /> <br /> <!-- Mozilla ôYî XLink ýãÝ simple link ^×Ä` --> <d” xml:link="simple" href="http://2Ti.com">9øô|=Õ 2T</d”> </?Ž><br /> <br /> Šš ¥ŒÝÎî»༂ HTML (Ìè .Õ9… TŒBŽåÕ(Ìè<br /> <br /> Ýçë¶ý<br /> <br /> XèºÝúbÝ(Ìè<br /> <br /> ¡&<br /> <br /> -ôòP-¬÷ZÝ&‚©ÎŽöØ&3Ø+ˆÝZ}P+ˆ ô!`¬–׎W ¦PÝÿà|õ̀Ý+ˆÿàŒà)¤gº& P&øÝTàZŸÃ¸à&9¥ŠÝ XML Tà‘À SVG[1.3.3] õ XSL[7.1] ‡KÎ Úx3(Ìè<br /> <br /> ÝÁîAŒ à×ÍöZC_ì<br /> <br /> œ × Š8 Office 2000 Xs<br /> <br /> µŒ¼Ý HTML D ºsƸ…«Ý XML I5à(Ìè<br /> <br /> P¾• XML<br /> <br /> ôàÿœ4<br /> <br /> 59<br /> <br /> 5 (Ìè<br /> <br /> 60<br /> <br /> Ëw€ 2tigers.net<br /> <br /> 6 ì×‚Ý HTML — XHTML<br /> <br /> 5HTML 4.0 B.Œ?×ð`<br /> <br /> Ý%‚`Ν|:Õ 5.0 Œ¼6<br /> <br /> ºbÏ 5 ÌÝ . HTML Ý™Bø› XHTML ¼#Ý<br /> <br /> HTML 4.0 : http://www.w3.org/ TR/REC-html40<br /> <br /> 6.1<br /> <br /> %‚Î XHTML<br /> <br /> XHTML t\§ “HTML in XML” ŽýµÎ.Ĝ| SGML LÝ HTML ;à XML ¼¥±LXHTML µ ̀ózÝ5X üü L6×øÎ XML ø+ŽÝ×4 TàXb XHTML Ýý„KÞaÉbÝ HTML 4.0 ý„¼L&-ôõòP[2.2]Ý( Ìõà°¿{ŽÄ. ŽWÝ XML b°2]Ä6ñï XML Ý!ΐ} ƕ Ĝ£‚ - XHTML 1.0 9ýã3 1999 O 8 ` 24 ^>} ˜Èýã (proposed recommendation)Ía-εA9 t±Ýýã¶WÄW ˜Èý㬂µ×<br /> <br /> XHTML 1.0 : http://www.w3.org/ TR/xhtml1<br /> <br /> 5¿W ÑPýã¯@îXHTML 1.0 9 ýãêGÑk¦2D¡ÊÈ ÝNF×Î(Ìè<br /> <br /> ݊ծÞõvÑt¡Ý”ŒA¢&Ɲ|á݊<br /> <br /> [5]<br /> <br /> XHTML s"ݛ^õ¸Ž%ŠXÝ®ÞÍhôº ½t±Ý›VÊ`?±<br /> <br /> 6.2<br /> <br /> XHTML ÿ%‚ø<br /> <br /> ï?»š :×ð XHTML æD3\bÍïÝÆNµ?&ƺ3¡«× ׍ފÕœCÝ\ï|¿àÍݑsà#®Õ8nÝa;œ×"~b<br /> <br /> 61<br /> <br /> 6 ì×‚Ý HTML — XHTML <?xml version="1.0" encoding="Big5" ?> A <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/strict.dtd"> B <html xmlns="http://www.w3.org/TR/html1"> C <head> <title>¿w€ È: D <meta http-equiv="Content-Type" content=’text/html; charset="Big5"’ /> A <script type="text/javascript"> E F

    ×Í&ðyÝða

    G
    H
    I
    J

    ݊ XHTML Ý&Í©ÇüQ¥Š¬Î¤õ×ͱI*ÎÍÌb@²î݌L œÊ.êݮޝºÎf´§Ý5µ¯&Ƽ:: XHTML ÎÍË bD3݉Â

    6.3

    %‚mŠ XHTML

    6.3.1 HTML Ý2Í HTML 3ïŒÝμ)Þ êG×ø3ç­î6‰¥ŠÝ‘3μÝç­t &GºD3Ý HTML Z?ºµ\b±Ý HTML Z®ß¬¨3b× Í®ÞD3 — Lÿ áá¼ç­î9óÝ HTML jn}¼ýKÎ)

    62

    Ëw€ 2tigers.net

    6.3

    %‚mŠ XHTML

    }Ý 5b ‹KeÝ×)}. &KÎ࣠DreamPage99 ç°_ì

    †Ý‚v

    Kà Netscape õ IE lãÄH¦ 6 ½Hb.éù Ýç°8*à PC îÝp

    œ:ΖP®ÞݬAŒà€

    ^Ýî¼:÷ 5î6 E^¶ýÎî — K¼Õ¡ PC `‚ &95—ï?*¡¿Oºb“¼“9Ýl

    ÌõŠ›;¸àï‚

    P[4]îç ßv†&P&ø݆™bÝ#‹1ÕÝ2- 2002 O75% Ýç°K ÞDÄ9°&wîlé\¼:1  š½0º&¬Î3

    Ø1 PC Þ‹Z wîl PC Þµ3μ

    6‰¥ŠÝ‘!ÝÎÞºb¨×v!Ý^

    ²3ç­îþ

    ¸R¼¯@î|¯ß check email Ýî\µbÝ‚vBb䅾 Þ3.Œ!ç°p

    Ýî2 h²ßlŠé\ Ît#Ý Palm

    Pilotݷͼ´`‚ݼÛbîçÝéO݌¨33p %‚ 5—ƺ9‚ï? HTML p

    X|“†“ñtÝ!·² Ý‘"â]M

    âWÝ HTML DôÎx..hàËp

    Ñ@•îÝç°¬‚¸×Ð

    )ýã?NÝΝ=×°ç°%® ̆Œ¼Ýç°KŒÿ)}3 PC Ì%Ý*^9ΜÝ®Þ. &Æb•ÈÝB7›õ{Ãè

    ¼õò9°ÿQ

    ºÎ¬‡òÝÞ¼ DßyÝç­ ÌŠ›P `¸Æ/˜Ýç°å \

    Š—

    ÎÍ ¨3Ýp

    9ø.ÈýãÝç°ïç°'Œï

    ¾ÝæŒ5¿2Ó¨Œ¼÷ 1 2

    à#SàŠ XHTML ýã Nokia t-sÝμîÝÕl¬[:ó›éÚ?/˜ Linux ®¼Ùõ Mozilla p ¯¸àïÌ»ç­

    P¾• XML

    63

    6 ì×‚Ý HTML — XHTML XML õ XHTML G¼Š= &Æá¼XML Ýýã&ðv¯J ýãZyyÝëè9°9Fî µ:ÿŒ5‚6Ý©P¯ ÌĆÿ£‚ñ &2¥ŒÝ Java XML Š—

    K3¿y kByte |ì9ôÎ XML õ Java %‚#Ýæ.×

    [2.4]

    . &9ßïŒç­ Ì`‚ݼÛ‚33Ý XML Š—

    ŠH„39° Ì

    îÎÊ)ÄÝ

    6.3.2 XHTML — ɝDßyêP§;¨ XHTML ©èº&Æ×͕(.Ý HTML Dz×z¯@ ¹ªÝÄPËÑÎ XHTML ݉ÂX3

    ¹ — ÿà; HTML t\Î͍ŽÝ+Ž'Œ› CERN {ΧTÝ!$ ଵ WWW ±R2.Ëp ÇXÿ_ì

    øð@~Tÿ

    !·Ý=O@;îç°'Œ/XŒ

    ¾ÚÆ[Œ&ÈaÝy5¡ÑÎ HTML ýã͖T¶

    Œ¼Ý HTML D\Jÿ«ê&4Q HTML 3ç­Ýs"ªîb½Ü ݐz¬AŒð°¡Œœ' b%‚𰝏a&Ɲ|.ÿÝ HTML 4.0 ¶¸àïmŠõp

    Ý

    \ÆÓt5W×ssÝÿàN×à©ݐKã×͎}Ý DTD[8] ¼. Lð­•1µÎ.¨bºÝ HTML 4.0 DTD ÿà;N×à DTD ©Yî×I 5Ýý„E!Ýp ̝|jEÍͽݕ ©PÇKM'ŒŒÝàÝ DTD ÉAÊ)•î5vi« (frames) Ýé\µŠYî‘â frame Ý DTD 9ø×¼¬3D9° ÌݐH?¯¸Æ¼sì&ŠÝ©P ¯@îÿà;ÑÎêG W3C XHTML àÝ ®¥F4Q3¨•Ý XHTML 1.0 XHTML 1.1 :

    ýã©ïͅI2ŒÝëÍ DTD ¡«º—Õ¬ÎXs"Ý XHTML 1.1

    http://www.w3.org/ TR/xhtml11

    64

    Ëw€ 2tigers.net

    6.3

    %‚mŠ XHTML

    'nJ”Á׍ÿහÝæJ¯ XHTML ZÝ_ìïõp

    ¶@j

    mŠà!à)Ý DTD 

    ª — U†P

    XHTML (ÌÝ X Î --CîœÝ‚ÎËт¸Ìn5X6H×8 YÝ©PôµÎU†Pœ;"P (eXtensibility) Ĝ3 HTML `‚©b W3C ýãºTÁÌÅ(æÝp

    ¼ïŒËŠ8õ

    {^Ýçÿb𰛸x±Ýý„‹y×€y£K½‚vNL ×ͱÝÝý„HTML DTD µŠ?›×g&ð^b[£ ;à XHTML |¡U†æpÝ®ÞD3µ Xb XML Z×øXHTML Z|DÄ&(Ìè

    [5]

    Ý]P `¶mŠ¼ÇŸÜ²Ýý„ÉA3|ìÝ

    XHTML æDnðµÃàÝ MathML[1.3.1] ¼¾ó.P

    MathML : http://www.w3.org/ TR/REC-MathML/

    ó.»

    |ì MathML ý„

    <math xmlns="http://www.w3.org/TR/REC-MathML"> 3 x

    P¾• XML

    65

    6 ì×‚Ý HTML — XHTML Þj8F bÝ\ïκ®5XHTML üQ¹w¬9©Äθ XML µYÝ? iÝ ¢«;à±Ý XML ý„D‚ÑŒœg)×͆”‘ØÝ XHTML6 . XML º«ã‚ HTML bÝZaqÍmŠðøa2;à XML P ;D‚|ò1¹ HTML PµÕ XML 3Þ¼º゠HTML *Fªî± Ý)Î HTML §ãœŽ *9óç°'Œït!Ý)Î HTMLh² êG XML s Ì)8 þzôÈûC9F/ƒß/R¿OG HTML ÌW!Ýÿé3 î¨*–9óÝç°p XML ™ß‹yŠ‡±×‚p

    )Q©U HTML ‚BQá

    ûCJŠœÝ×ð`

    Î Ý@1€^Ý HTML Zº¯Î¼ÝZ¯p +õp

    .hÑ

    žÕTÎÆÕ39Íý¥

    ±øÝÄ, »lÕ XML †ãn&ÆK|Ÿà XHTML¼Q

    Ã&ƾW9°êý½ÝXHTML Î QÝ XML. HTML ZðW XHTML } P-Î@1μ¢ XML 'ŒÝç­

    ÌKÑ@ § ÝZ93çìÎ

    ¼;ÝXMîP¶'G ×MAŒ Ñ3'Œ×ͱçì?T8Ê¸à XHTML

    6.4

    XHTML õ HTML 4.0 Ý-½

    6.4.1 XHTML Q ê 3\ÄG¿a+ÛÝ XML +°õÃF¡AŒ Õ¨3KôôΛ‰Tk" 8Ž½¶¿Í XML ý„¼@j‰Y×jTŒù ¨3ÑΥ᝜Ý? ^º9ôÎ %‚ XHTML 9ÍxފьHæ39…Ýæ. 3

    Ñ9‚f“¬ÞïÝͲQ¼8! — HTML ͖‘â²ÌÝÓ¨.hXŒÇXÿϟßÝ _ì µ8¥Š4Q XML ͖Ê²Ì¬AŒb?Ý CSS _Ñ Ì¼g)JôÎ×É ¯

    66

    Ëw€ 2tigers.net

    6.4

    XHTML õ HTML 4.0 Ý-½

    bÝ XML ÝÁ4 ¼   XHTML  ºsÆ×6 XHTML Ý!D£

    Ž

    ÿœ|§Š™mŽŒ². 9°ÑÎ XML Ý! ?µ¯&Æ×ÍB-I XML Ýßݍ—¼AŒ HTML Š XML ;º bø°2]mŠŸJ

    6.4.2

    }PÑ@æJE HTML ݎ\

    &Æ3Ï 2.5 ;—ÕXML ZŠÌÿî)}Ä}PÑ@ (well-formed)ôµ Îÿ”• XML ÝÃÍ+°ãy HTML ýãͼ3Ø°2]µf´Šãî&p 

    ý—{E HTML Ý­°}ŠOCWêGÝ HTML ZbK2]

    3FT¡Fîõ XML Ý+°ÆÚÍtðŒÝ‘À” ý„6¯ËÍý„ øüõòPÂ^bîSr9°ÀD}PÑ@æJÝϵ3 XHTML ן&Œ ¨b¿4!Šú×ƕ

    ” ý„6 HTML ýã1b°” ý„ -¯

    
  • 
    Ý ¶ °  ) }  Š ; W Än 5

    4/!òPsrc  height. . . ¬)ÕÎè-ô

    68

    Ëw€ 2tigers.net

    6.4

    XHTML õ HTML 4.0 Ý-½

    òP(aŽ HTML b×ËòP¸Ý©b5Î6T5Î6ËËÏV6 ;ð3ÂÕ9vÝò P`AŒ&Ɗۀ¸ÝÂÎùݵ.¸Ý(Ìw ý„…¬6¯¡«Ý‡r õòP |ì»Ý checked  selected õ compact