¨ä¥LÂø¤å¯Á¤Þ ¦^¦ó³B¹Ð®J¤ÀÃþ¾ÉÄý
¶}¾÷³s¶i³£¨S¶i¥h´N¥s§Ú¡u¥i¥H©ñ¤ßÃö¾÷¡v
µwºÐ¤¤ªºVmm32.vxdÀÉ®×·lÃa©Î¿ò¥¢®É·|µo¥Í³oºØ²{¶H¡A¥²¶·«·s«Ø¥ßVmm32.vxd¤~¥i¥H¸Ñ¨M°ÝÃD¡A³]©w¨BÆJ¦p¤U¡G
- ¹q¸£¶}¾÷¡A¬Ý¨ì¡uStarting Windows 95¡v¦r¦ê®É¡A«ö¡uF8¡v¡A¿ï¡uCommand Prompt Only¡v¡C
- §ó´«¨ì Windows\System ¥Ø¿ý¡A«ü¥O½d¨Ò:¡§CD \WINDOWS\SYSTEM¡¨¡C
- §ó´« VMM32.VXD ªºÀɦW¡A«ü¥O½d¨Ò¡G¡§REN VMM32.VXD VMM32.OLD"
- «·s¶}¾÷¦A¿ï¤@¦¸Command Prompt Only¡A¶] Win95 CD ¤WÀYªº SetupסC
®ø¥h IE ¤U¿é¤Jªí³æªº¸ê®Æ
- [Internet¿ï¶µ] -> [¤º®e] -> [¦Û°Ê§¹¦¨] -> ¤ºªº¿ï¶µ¥þ³¡²M±¼
98²Ä2ª©ªºIE5¦p¦ó¼W¥[»y¨t
¥ý«e¦³¶R²Ä¤@ª©IE5 CD-ROMªº¤H¤@©w·|µo²{, ´«¤F98²Ä2ª©«á¤ºªþªºIE5·|¦]¬°ª©¥»¸û·s¦ÓµLªk¥Îì¨Óªº¥úºÐ¼W¥[»y¨t³o¸Ì¦³Ó¤èªk¡G
- ¶}©l->°õ¦æ¥´ regedit
- ¨Ì§Ç¿ï¡yHKEY_LOCAL_MACHINE¡z¡÷¡ySoftware¡z¡÷¡yMircosoft¡z¡÷¡yInternet Explorer¡z¥kÃ䦳ÓVersionªºªF¦è,
- ¥Î¥kÁäÂI¤@¤U¿ï"×§ï"¶ñ¤J5.00.00¡A«¶}¾÷«áÀ³¸Ó´N¥i¥H¥Î²Ä¤@ª©ªºCD-ROM§ó·s¤F!!
§ó´«ÀÉ®×¹w³]¶}±Òµ{¦¡
- ÀÉ®×Á`ºÞ¤¤¡A¦b¸ÓÀɮפW±«ö shift-·Æ¹«¥kÁä/¶}±ÒÀÉ®×...¡A¿ï¾Ü·sªº¶}±Òµ{¦¡¡C
Window NT ¦p¦ó°µ¤Wºô³]©w
- ¨ì±±¨î¥x¬Ý¼Æ¾Ú¾÷¸Ë³]°_¨Ó¨S¡A¨S¦³ªº¸Ü·s¼W¡C
- ¨ì±±¨î¥xºô¸ô³q°T¨ó©w¶¬Ý TCP/IP ³q°T¨ó©w¸Ë¤F¨S¡A¨S¦³ªº¸Ü·s¼W¡F¦Ü©ó¤º®e³]©w¤£ºÞ¥¦¡A¦]¬°¨º¬O³z¹L°Ï°ìºô¸ôÁpºô¥Îªº¡AModem ¤£»Ýn¨º¨Ç³]©w¡C
- ¨ì±±¨î¥xºô¸ôªA°È¶¬Ý»·ºÝ¦s¨úªA°È¸Ë¤F¨S¡A¨S¸Ë·s¼W¥¦¡C
- ©M TCP/IP ¤£¦P¡A»·ºÝ¦s¨úªA°Èªº¤º®e¹ï Modem ¼vÅT¦Ü¤j¡A¤@©wn°µ¤º®e³]©w¡A¤@¯ë¦b³]©w¹ï¸Ü²°¤¤n¹ï¤TÓ¿ï¶µ¦A½T»{¡G
- ¬Ý¬Ý¼Æ¾Ú¾÷¹ï¤£¹ï¡A¤£¹ï¸É·s¼W¡C
- ³]©w¯Ã¿ï¥u¼·¥X¡A¦]¬°§A¥un¥Î Modem ¤Wºô¦Ó¤w¡A¦pªGn¼·¤J¡A¨º´Nªí¥Ü±µ¨ü»·ºÝµn¤J§Aªº¥D¾÷¡A¨º´N¦³±o³Â·Ð³]©w¤F¡A¦]¬°¬O¥t¤@Ó½dÃ¥¡A³o¸Ì¤£´£¡C
- ºô¸ô¶s TCP/IP ¨ó©w¤@©wn¤Ä°_¨Ó¡C
- ³£¦n¤F´Nµ¹¥¦Ä~Äò¤U¥hÅo¡C
- «·s¶}¾÷¨Ï¦U³]©w¥Í®Ä¡C
- µ{¦¡¶°¿ï¼·µoºô¸ô¡C
- ·s¼W¹q¸Ü¼·¸¹Ã¯¶µ¥Ø¡C
- «ö¨ä¥L¯Ã¡A¿ï½s¿è¶µ¥Ø¤Î¼Æ¾Ú¾÷¤º®e¡C
- ¿ï[¦øªA¾¹]¡C
- ¿ï[ TCP/IP ³]©w]¡C
- «ü©w¦WºÙ¦øªA¾¹¦ì§}¡C
- ³Ì«á¡A·íµM¬O¼·¸¹¤WºôÅo¡C
Window NT¸Ìn¦p¦ó±NCDªº¦Û°Ê¦w´¡¸Ë¸mÃö±¼
×§ïRegedit¾÷½X¡AHKEY_LOCAL_MACHINE\SYSTEM\CorrentControlSet\Services\Cdrom ¤¤¦³¤@ÓAutorunªº¼ÆÈ¡A§â¥¦ªº¤º®e§ï¦¨ 0¡C
Window NT ¤U¦p¦ó«Ø¥ß¶}¾÷¤ù
- diskcopy²Ä¤@¤ùnt¦w¸ËºÏ¤ùµM«ádel·sºÏ¤ù¥þ³¡ÀɮשΦb NT Àô¹Ò¤Uformat¤@±iºÏ¤ù¡C
- ±N drive0-partition1 ªº´XÓÀɮ׫þ¨©¨ì¸ÓºÏ¤ù
- boot.ini
- bootfont.ini
- bootsect.dos
- ntbootdd.sys...³oÓ³q±`³£¨S¦³
- ntdetect.com
- ntldr
- Àˬd©Î×¥¿boot.ini«á¥Î¸ÓºÏ¤ù¶}¾÷«K¥i¶i¤J NT¡C
Window NT ¤Uªº Mail Server ³nÅé
- IMail http://www.ipswitch.com
- NTMail http://www.ntmail.com
- MDaemon http://www.deerfield.com
¦p¦óÅý IE ¤£°õ¦æ Script
¦b ¤u¨ã=>Internet¿ï¶µ=>¦w¥þ©Ê->¦Ûq¼h¯Å=>±N Script³B²z¤¤ªº¿ï¶µ, ¥þ³¡³]¬°Ãö³¬§Y¥i¡C
ASP ¥D¾÷
Linux
- Redhat Linux ÀH¸Ë§Y¥Î§t CLE ªQ±^ ¿àªüºÖ.°ª°·´¼ ½sµÛ
- Official CLE 0.8 ¤¤¤å Linux ©µ¦ù®M¥ó + ¨Ï¥Î¤â¥U ¦Ê¸ê¬ì§Þ ¾G쩾 ½sµÛ
JavaScript ¾ã®M§¹¾ãºô¤W½Òµ{
WWW ¬ÛÃö¤å¥ó
ASP ¬ÛÃö¤å¥ó
XML ¬ÛÃö¤å¥ó
- ¤¤¬ã°| "¤¤¤å XML p¹º" http://www.ascc.net/xml/
- ¬F©²¹q¤l¤½¤å³W®æ http://163.18.14.127/
- ²£·~¹q¤l¤Æ§Þ³N¤ä´©¤¤¤ß http://www.codenet.org.tw/
- µØ±m³nÅé¥Xªº¡u¹ê¾ÔXML¡]William J. Pardi µÛ ; ¹Q¥¿¥½sĶ¡^¡v
¬ã¨s HTTP ¨ó©w
¨Ï®Ø¬[¶¡µL¬É½u¨Ãºò±K
<FRAME SRC="xxxxx.htm" NAME="xx" BORDER="0" FRAMEBORDER="NO" FRAMESPACING="0">
¦bºô¶«ö¶s¤¤³]©w±Nºô¶¥[¤J®ÑÅÒ
javascript:window.external.AddFavorite('ºô§}','ºô¯¸¦WºÙ')
ºñ²Ã Q:
½Ð°Ý¦³¤H¨Ï¥Î XML ³]pºô¶¶Ü?¦¨®Ä¦p¦ó?¥¦¥i¥H©MASP,VB Scriptµ¥§Þ³N²V¦X¨Ï¥Î¶Ü?
Åý¦Û¤v§Ö¼Ö¤@ÂI Q:
XML¸òASP¦³¤°»ò¥Dnªº®t§O©O¡H¡]¦p¥Î³~¤W...¡^
¦Ñ©Ç A:
ü!«ÜÃøµªªº°ÝÃD°Õ¡A¦pªG§A¥þµLºô¶¸gÅ窺¸Ü¡H¥ýÅý§Ú̽T©w¤@ÂI¡A§âµ{¦¡©Mºô¶¤â½Z¤À¶}¡C
- Java¡BVB¡BCGI ¡AÀ³¥Îµ{¦¡»y¨¥¡A¤£¬O¥Hºô¶À³¥Î¬°¥D¡C
- HTML¡BXML¡BJavaScript¡BVBScript¡BASP¡BPHP¡A¤â½Z¡A¥Hºô¶À³¥Î¬°¥D¡C
´N¤â½Z¤S¥i¤À¦øªAºÝ¤â½Z©M«È¤áºÝ¤â½Z¡G
- ¦øªAºÝ¤â½Z¡GASP¡BPHP
- «È¤áºÝ¤â½Z¡GHTML¡BXML¡BJavaScript¡BVBScript
´N«È¤áºÝ¤â½Z¥i¤À¬°¡G
- t³d°ÊºAÅܤƤâ½Z¡GJavaScipt¡BVBScript
- t³d¤º®e§e²{¤â½Z¡GHTML¡BXML
©Ò¥H§A²{¦bª¾¹D¤°»ò¸Ó¸ò¤°»ò¤ñ¤F¶Ü¡H¨º´N¬O XML n©M HTML ¤ñ¡A¦Ó¤£¬O¸ò ASP,VB Script ¤ñ¡A¦³¤F³oÆ[©À¡A§Ṳ́~½Íªº¤U¥h¡COK ¡A¨º XML ©M HTML ¡A¦³¤°»ò¤£¤@¼Ë¡H´N¾ÇªÌ±M®aªº»¡ªk¡G
- HTML ¬O¤@ºØ¸ê®Æ¤º®e©MÅã¥Ü®æ¦¡²VÂøªº»y¨¥¡C
- ¦Ó XML «h§â¤GªÌ¤À¶}¡A¸ê®Æ¤º®eÂk¸ê®Æ¤º®e¡AÅã¥Ü®æ¦¡ÂkÅã¥Ü®æ¦¡¡C
¤£À´¶Ü¡H¥¿±`¡A¾ÇªÌ±M®aªº·N¨£¥»¨Ó´NÃøÀ´¡A§Ú¤]¤£¤ÓÀ´¡A¤£¹L¦Ñ©Ç½MÙT¡A§A¥i¯à´N·|¦³ÂIÀ´¡A¨Ò¦p¡G
<HTML>
<H1>§Ú¬O¼ÐÃD<H1>
<P>
§Ú¬O¥»¤å¡A·íµMnÅo¶Û¤@ÂI....................................
</P>
</HTML>½Ö³£ª¾¹D <H1> ¬O³Ì¤j¸¹¼ÐÃDÅã¥Ü¡A¦Ó <P> ´N¬O¤@¯ë¦r«¬ªº¥»¤å¬q¸¨Åo¡C¦]¦¹³o¥÷HTML ½Z¡A§Ú̯u¥¿¶Ç¹Fªº·N«ä¬O¤@½g±a¼ÐÃDªº¤å³¹¡A¼ÐÃD¥Î³Ì¤j¦rÅã¥Ü¡A¥»¤å¥Î¤@¯ë¦rÅã¥Ü¡C
¨º XML «ç»òªí¥Ü¡H¦p¤U¡G
<?xml version="1.0"?>
<MyPaper>
<Title>
§Ú¬O¼ÐÃD
</Title>
<Content>
§Ú¬O¥»¤å¡A·íµMnÅo¶Û¤@ÂI....................................
</Content>
</MyPaper>²³æ§a¡A¥i¬O§A¤@©w·|°Ý¡A³o¤°»ò¼ÐÅÒ¡A¨S¬Ý¹L¡A·íµM¨S¬Ý¹L¡A¦]¬°¬O§Ú¦Û¤v¨úªº¡A§A¤]¥i¥H¨ú¼ÐÅÒ¦WºÙ¡AXML ¥Øªº´N¬OÅý§A¦Û¤v¥i¥H¨ú¦Û¤v³ßÅwªº¼ÐÅÒ¦WºÙ¡C°ÝÃD¬O«ç»òÅã¥Ü®æ¦¡¡H¦n°ÝÃD¡A¥¿½Tµª®×¬O XML ¤º¨S¦³Åã¥Ü®æ¦¡ªº±Ôz¡An§â XML ®æ¦¡Åã¥Ü¥X¨Ó¡An°t¦X¥t¥~¤@ÓÅã¥Ü®æ¦¡ªºÀɮסA³oÓÅã¥Ü®æ¦¡Àɮצb¨º¸Ì¡H¤S¬O¤@Ó¦n°ÝÃD¡Aµª®×¬O¨S¦³©T©wªº®æ¦¡ÀÉ¡A§An¦Û¤v°µ¡C«ç»ò°µ´N½ÆÂø¤F¡A¥Ø«e¿ìªk¦³¤TºØ¡G
- ¥¿²Î¿ìªk¡G°µ DTD ®æ¦¡ÀÉ(¥Ø«e¦Ñ©Ç¤£·|)¡C
- ²©ö¿ìªk¡G¥Î CSS Style Sheet ¨Ó³]©w(¥Ø«e¦Ñ©ÇÁÙ¨S·dÀ´)¡C
- «Dn¦Ñ©ÇÅã¥Ü¤£¥i¡GHTML °t Script ¡A¥Î IE 5 ¶]¡C
§Ú¥Î«e±¨ºÓ XML ®æ¦¡Á¿¸Ñ¤@¤U¿ìªk¤Tªº¤j·§¡G
<HTML>
<BODY>
<SCRIPT LANGUAGE=JAVASCPIT>
var obj=myxml
document.write("<H1>"+obj.MyPaper.Title+"</H1>");
document.write("<P>"+obj.MyPaper.Content+"</P>");
</SCRIPT>
</BODY>
</HTML>³o¼Ë´N¯à§e²{¥X©Mèè¨ºÓ HTML ¦P¼Ëªº±»ª(ÁÙ¦³«Ü¦h¨ä¥L²Ó¸`n°µ¡A½Ð¦Û¦æ°Ñ¦Ò·L³n»¡©ú¡C)
©Î³\§A·|»¡µL²á¹À¡A§Úª½±µ¼g HTML ´N¦n¡A·F¹À¨º»ò¶O¨Æ¡H°ÝÃD¬O§Ṳ́ñ¤è§A¦³¤QÓ¤£¦P¤º®eªººô¶¡A¦ý¨CÓ³£¦³¬Û¦Pªº®æ¦¡¡A§A¥Î HTML°µªº¬O¤QÓ HTML Page ¡A¦Ó§A¥ÎXML °µ¬O 10 Ó XML ¥[¤@ÓÅã¥Ü®æ¦¡ªº DHTML¡A¦n¹³ÁÙ¬O HTML ¬Ù¡C¦ý¦pªG¦ÑªO¸ò§A»¡¼ÐÃD¥Î¤p¤@ÂI¡A¥»¤ån±×Åé¦r¡A¨º»ò HTML ´N¤QÓ Page ³£n§ï¡A¦Ó XML ©O¡H§A¥un¨ìè¤~¨ºÓ DHTML §ó§ï¦p¤U¡G
document.write("<H3>"+obj.MyPaper.Title+"</H3>");
document.write("<P><I>"+obj.MyPaper.Content+"</I></P>");OK ¡A¸Ñ¨M¤F¡C
¤S¦pªG¦ÑªO¸ò§A»¡¡A§Ú¦³¤QÓ Page ¤º®e¡A¨CÓ³£n¯à¥Î¤QÓ¤£¦Pª©±Åã¥Ü¡A¨º§A¥Î HTML n¥Î¤@¦ÊÓ Page ¡A¨º XML n´XÓ Page ©O¡Aµª®×¬O¤QÓ XML ¡A¤QÓ DHTML ¡AÁ`¼Æ¤G¤QÓ¡C
¤S¦pªG¦h¶}µoªÌÀô¹Ò¤U¡A§A̤j®aªº¸ê®Æ¦³«ÂЪº¡A¦³Ó§Oªº¡AXML ±a¨Óªº¦n³B¬O§A̤£¥Î§â Page ¤º®e Copy ¨Ó Copy ¥h¡A¦A×װŰšA§AÌ¥i¥H¦@¥Î¤@Ó XML ¡A¦A¦bÅã¥ÜÓ¤Hªº®æ¦¡Àɤ¤¥hÅã¥Ü¦Û¤v»Ýnªº¸ê®Æ³¡¥÷¡C
¤S¦pªG.....¡A¦n¤F¡A¤£n¦A¦pªG¤F¡A§A¦Û¤v¥h·Q¡A¦n³B¦hªº¼Æ¤£§¹¡C³Ì«á¦^µªªº°ÝÃD¬O XML ©M ASP or PHP ¦p¦ó°t¦X¡H¨ä¹ê©Ò¿×ªº Server Script ¡A¦³¤@¤j³¡¥÷´N¬O§â Client ºÝªº Script ·h¨ì Server ºÝ°õ¦æ¡A¨º»ò©Ò¦³§Úè¤~Á¿ªº§Q¥Î¤è¦¡¡A¤@¼Ë¥i¥H¦b Server ºÝ¹B§@¡A¬Æ¦Ü§ó¦³®Ä²v¡A¦]¬°§A¥i¥H¦b Server ¦³¤@¤jÓ XML ÀÉ¡A¥Î ASP or PHP ¨ú¥Î XML ¤¤¬ÛÃö¸ê°T¡A¦A°e¨ì Client ¡A¦Ó¤£¥²§â¾ãÓ XML °e¨ì Client ¡C
«ÂоǪ̱M®aªº¸Ü¡AXML ¬O¤@ºØ¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡¤ÀÂ÷ªº³B²z¼Ò¦¡¡A²{¦b§A¦³¤ñ¸û»â·|¨ä¤¤²[·N¤F¶Ü¡H©Ò¥H¦pªG§AnA»ÅA¬¯¡A´N¤£»Ýn XML ¡AXML §¹¥þ¨S¦³»Å¬¯®ÄªG¡A¨ä¦¸ XML ¯à±aµ¹§Aªº¬Oºô¶ºÞ²z¡B²Õ´¡B¬y³qªº·sÆ[©À¡A¤×¨ä¥¦¯àÅý§Aµo®i±MÄÝ©ó¦Û¤v²Õ´©Î¾÷ºcªººô¶³W«h©M¬[ºc¡A©Ò¥H¦pªG§A¤£»Ýn¦b DHTML ¤¤¥t¦æµo®i¤@®MºÞ²z¤èªk¡A¨Ã¥B¦³¯à¤O¦Û¤v¥h«Ø¥ß³W«h¡A¨º»òÅãµMªº¡AXML ¤£¾A¦X§A¡C
Post Only Say:
XML »P HTML ªº¤ñ¸û²³æ¨Ó»¡¬O·L³n¸ó¥¥x, COM , ActiveX ª«¥óÆ[©ÀÀ³¥Îªº©µ¦ù...¡A MS ¦b³Ìªñ±À¥Xªº³nÅ餤, ¤£ª¾¤£Ä±¤wÅý«Ü¦hªF¦è³£ª«¥ó¤Æ¤F... XML ¬O¸ó¥¥xªº§Þ³N¡C
Zick Say:
³Q§A³o¼Ë¤@Á¿¤H®a·|»~¸Ñ XML ¬O·L³n¶}µo¥X¨Óªº§Þ³N, ³o¬O§¹¥þ¿ù»~ªº. XML ©M HTML ÁÙ¦³³\³\¦h¦h³W®æ¬O¥Ñ W3C ¨î©wªº, ·L³n¥u¬O¨ä¤¤¤@Ó member ¦Ó¤w. ·L³n¬O¤£·|¶}µo³o»ò¶}©ñ©Êªº³W®æªº, ¥LÁ`¬O§K¤£¤F±o¸j¤@¨Ç¥Lªº§@·~¨t²Î©Î¬Oª«¥óªº¿W®a§Þ³N.
Post Only Say:
¶â...¤]³\¬O§Ú¤F¸Ñªº¤£¨¬§a...¸ó¥¥xªº»¡ªk¬O§Úªº»y¯f....¦ý¨ä«e¦]«áªG, ¦n¹³¤]¯uªº¬O¥¦©Ò´£ªººc·Qº¥º¥³Q±µ¨ü©ÒP...
¦Ñ©Ç Say:
¨ä¹ê§Úı±o XML ªº°ò¥»Æ[©À¸ò¸ó¤£¸ó¥¥x¨S¤°»òÃö«Y¡AÁÙ¬O§Ú¨º¥y¸Ü¡AXML ºë¯«´N¬O¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡¤ÀÂ÷ªº³B²z§Þ³N¡A³oºØ³B²zªº§Þ³N¥Î«Ü¦hºØ¹ê°µ¤èªk³£¥i¥H°µ¨ì¡A³Ì¦³Q§Q¥Î¦Ó¥B¬°¤j®a©Ò¼ôª¾ªº´N¬O¸ê®Æ®w¸ê®Æ°O¿ý»P³øªí®æ¦¡¤ÀÂ÷ªº³B²z§Þ³N¡C°µ¸ê®Æ®wªº¤H³£ª¾¹D¡A¤@Ó¸ê®Æ®w¸ê®Æ¿ý¥i¥H©M³\³\¦h¦hªº³øªí®æ¦¡°t¦X¡A³øªí®æ¦¡¥i¥HÅܤƦhºÝ¡A¦ý¨Ï¥Îªº«o¥u¬O¦P¤@Ó¸ê®Æ¿ý¡C
¦Ó©Ò¿× W3C ¨î©w XML ³W®æªº¥Î·N´N¬O¡A¦n§a¡A¬JµM¤j®a³£¦³¸ê®Æ¤º®e©MÅã¥Ü®æ¦¡¤ÀÂ÷ªº»Ý¨D¡A¨º»ò§ÚÌ´N¨Ó¨î©w¤@Ó¦@¦Pªº¼Ð·Ç¡A¦nÅý¤j®aªº³oºØ§@ªk¥i¥H¤¬¬Û¬y¥Î¡C´N¦p¦P¦b¸ê®Æ¤º®e¤¤´¡¤JÅã¥Ü®æ¦¡ªº¼ÐÅÒ¡A§â¸ê®Æ¤º®e°µ¤£¦P¼Ë¦¡ªº§e²{¡A¬O©Ò¦³±Æª©³nÅ馴N¦b§Q¥Îªº§Þ³N¡A¥u¬O©¼¦¹°µªk¤£¦P¡AµLªk¬y¥Î¡C©ó¬O W3C ¤~·d¥XÓ HTML ¨î©w¼ÐÅÒªº¦@³q³W®æ¡A¨Ñ¤j®a¬y¥Î¡C©Ò¥H¤£ºÞ¬O HTML or XML ªº°ò¥»³B²z§Þ³N©M¤èªk¡A³£¤£¬O W3C µo©úªº¡AW3C ¤]¨S¦³¬ãµo¹q¸£·s§Þ³Nªº¨Ï©R¡A¥¦ªº³d¥ô¬O¬°³o¨Ç§Þ³Nq©w¦@¦P¼Ð·Ç¡C
©Ò¥H§A»¡¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡ªº³B²zÃö©À¬O½Öªºµo©ú¡A½Öªº§Þ³N¡A¦Ñ©Çı±o¦n¹³¬O¦Ñ©Çµo©úªºC¡A¦]¬°·í§Ú¬Ý¨ì XML »¡©ú¤å¥ó®É¡A´Nı±o§Úªº¬Ýªk¦´N¬O³o¼Ë¤F¡A¥u¤£¹L¤@¤£¯d¯«¡A³Q§O¤H¥ý°½¶]¤F¡C
¦Ü©ó§Ú¥Î IE5 °µ¨Ò¡A¥u¬O¦]¬° IE5 ¤¤²v¥ý´¡¤FÓ¯à¸ÑĶ XML ³W®æªº ActiveX ¤¸¥ó¡AÅý§A¯à¥Î¦¹¤¸¥ó¡A³z¹L Script ©M DHTML ¡A°µ¦UºØ XML ÀÉ®×Åã¥Ü®æ¦¡ªº¹ê°µ¦Ó¤w¡C©Ò¥H¦pªG§A¯à¥Î Java ¼gÓ¸ÑĶ XML ªº Applet ¡A´¡¦b Netscape ùض]¡A§A¤@¼Ë¥i¥H°µ¨ì¹³ IE 5 ªº¥\¯à¡C¦Ó ASP¡BPHP ©M CGI ¤S¦ó¹Á¤£¦p¦¹¡A¥[Ó XML ¸Ñ;¹¡A´N¥i¥H«ÅºÙ¦¨¥ß¤F XML Server ¯¸¤F¡C
³Ì«á§Ú¥ÎÓ¨Ò¤l°µµ²¡A¨º´N¬O¦pªG¤£¨Ï¥Î XML ¡A³æ¯Â¥Î Script ¡A§A¦p¦ó¯à¦b DHTML ¤¤¹F¦¨¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡¤ÀÂ÷ªº³B²z§Þ³N¡AÁÙ¬O¥H§Ú«e¤åªº½d¨Ò¨Ó±Àl¡G
- /* ³o¬Oì¨Ó XML ÀÉ */
<?xml version="1.0"?>
<MyPaper>
<Title>
§Ú¬O¼ÐÃD
</Title>
<Content>
§Ú¬O¥»¤å¡A·íµMnÅo¶Û¤@ÂI....................................
</Content>
</MyPaper>
- /* ³o¬O xml01.js ¥~³¡¼Ò²ÕÀÉ */
var MyPaper=new Object();
MyPaper.Title="§Ú¬O¼ÐÃD";
MyPaper.Content="§Ú¬O¥»¤å¡A·íµMnÅo¶Û¤@ÂI
....................................";
- /* ³o¬O¤£¨Ï¥Î IE5 XML ¸Ñͤ¸¥óªº DHTML ÀÉ */
<HTML>
<!-- ¤Þ¥Î xml01.js ¥~³¡¼Ò²ÕÀÉ -->
<<SCRIPT LANGUAGE=JAVASCPIT SRC="xml01.js"></SCRIPT>
<BODY>
<SCRIPT LANGUAGE=JAVASCPIT>
/* ¤Þ¥Î§Ú̦ۤv©w¸qªº xml JS ª«¥ó */
var obj=MyPaper;
/* §âª«¥ó¸ê®Æ¤º®e¨Ö¦PÅã¥Ü®æ¦¡¿é¥X¨ìºô¶¤W */
document.write("<H1>"+obj.MyPaper.Title+"</H1>");
document.write("<P>"+obj.MyPaper.Content+"</P>";)
</SCRIPT>
</BODY>
</HTML>¦n°Õ¡A¨S¦³¨Ï¥Î¥ô¦ó XML ÀÉ©M¥ô¦ó XML ¸Ñ;¹¡A§A¤@¼Ë¹F¦¨¤F XML ¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡¤ÀÂ÷³B²zªº¥Øªº¡C¤£¹L§A¥i¤£n»¡¨º§Ú̥ΦѩǦ¡ªº XML ¤ñ¸û¬Ù¨Æ¡A¦]¬°¨º°£¤F§A§Ú¤§¥~¡A§O¤H¥i³£¬O²ö©ú¨ä§®ªº³á¡C
©Ò¥H³o®É´N¬O W3C ªº¥\¯à¥X¨Ó°Õ¡A¨î©w¤@Ó¦@¦P³W½dµ¹¤j®a¿í¦u¡A¦Ó¤£¬O¥Ñ¦Ñ©Ç¨º¨àJ»¡¤K¹D¡A¦Û¦¨¤@®a¡C¤°»ò¬O¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡¤ÀÂ÷³B²z¡A¤°»ò¬O XML ¦@¦P³W®æ¡A¦³¤ñ¸û¯à¤À²M·¡©¼¦¹¬É©w½d³òªº¤£¦P©M¦U¦Ûªº«n©Ê¶Ü¡H
Post Only Q:
¹ï©ó¸ó¥¥x§Ú¤]»¡¤F, ¬O§Úªº»y¯f, ¦ý¬O¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡ªº¤ÀÂ÷¥t¤@ºØ·N«ä¬O¤£¬O¥i¥H·í¦¨¤@ºØ¦b¦UºØ¥¥x¬Ò¥i¥H¥¿½TÅã¥Üªº·Qªk, ¥un±¾¤F¤ä´©¨ºÓ¥¥xªº¥¿½T¸Ñ;¹©O? ·íªì Java ¸¹ºÙ¥i¥H¸ó¥¥x¤]¬On±¾ªF¦è¤W¥hªº...
¦Ñ©Ç A:
¤£¤Ó¤F¸Ñ¸ó¥¥x¬O§Aªº»y¯f¬O¤°»ò·N«ä¡A°ò¥»¤W¨Ó»¡¡A¤£§t¦³¥ô¦óÅã¥Ü®æ¦¡ªº XML ¡Aªº½T¯à°÷³Q©Ò¦³ªº¹q¸£³B²z¡A¦]¬°³£¬O¤å¦r¹À(©ÎªÌÁ¿¬O charcode)¡A¦pªG³s¤å¦r³£¤£¯à³B²z¡A¨ºÁÙ¥s¤°»ò¹q¸£¡H¦ý¯à³B²z¤£ªí¥Ü¥¦¯àªí¥Ü¥X¯u¥¿ªº¤º²[·N¸q¡A«ç»ò»¡©O¡AÄ´¦p§Ú´¿¸g·Q¥Î XML °µÓ¹q¤l®Ñ¨t²Î¡A§Úªº¼Ò«¬¤j·§¦p¤U¡G
<?xml version="1.0"?>
<EBook>
<Page>
<No>1</No>
<Key>¥É¤s</Key>
<Picture>¥É¤s·´º¹Ï.gif</Picture>
<Content>¥É¤s¦a²zÀô¹Ò¤¶²Ð¥»¤å......</Content>
</Page>
<Page>
<No>2</No>
<Key>¦XÅw¤s</Key>
<Picture>¦XÅw¤s·´º¹Ï.gif</Picture>
<Content>¦XÅw¤s¦a²zÀô¹Ò¤¶²Ð¥»¤å......</Content>
</Page>
...... ¨ä¥L¶± Page ......
</EBookr>No ©M Key ¤j®aÀ³¸Ó³£¤F¸Ñ¤°»ò·N«ä¡A¦Ó Picture ¬O¦s©ñºô¶·´º¹Ïªº URL ¡AContent ¬Oºô¶¥»¤å¤¶²Ð¡A®æ¦¡³]©w¬O§Æ±æ°µ¥XÓ Page ¡A¦³¹Ï¤ù¡A¦³»¡©ú¡C¦n¤F¡A§Ú²{¦bn°Ý§Aªº°ÝÃD¬O¦b¤@¯ë¯à°÷³B²z¹Ï§Îªº¹q¸£¨t²Î¤W¡A Cross Table ¤£¦¨°ÝÃD¡A¦ý§A¦p¦óÅý§Úªº³oÓ XML ¸ó¨ì¨S¦³¹Ï§Î³B²z¯à¤Oªº¯Â¤å¦r¹q¸£¨t²Î¤W¡H¬O¦b¨ººØ¹q¸£¤WÅã¥Ü¤@¬q³o¼Ë¤å¦r:"³o¬O¤@±i¹Ï¤ù¡A½Ð§ï¥Î¥i¹Ï§Î³B²zªº¹q¸£Æ[µø"¶Ü¡H³o¤S¥s¥¿½TÅã¥Ü®æ¦¡¶Ü¡H
¤S©ÎªÌ¦³¤H·Q¥Î XML °µÓ¹qµøÀð¨t²Î¡A¨Ò¦p¡G
<?xml version="1.0"?>
<ElectBoard>
<Screen>
<No>1</No>
<Content>¥É¤s¦a²zÀô¹Ò¤¶²Ð¥»¤å......</Content>
</Screen>
<Screen>
<No>2</No>
<Picture>¥É¤s·´º¹Ï.gif</Picture>
</Screen>
...... ¨ä¥L Screen µe± ......
</ElectBoard>·N«ä¬O¹qµøÀð²Ä¤@¥x¿Ã¹õÅã¥Ü¥É¤s¤å¦r¤¶²Ð¡A²Ä¤G¥x¿Ã¹õÅã¥Ü¥É¤s¹Ï¤ù¡A§A¯à»¡³oºØ³W®æ¤@ÂI³£¤£¯à¸ó¥¥x¡A©Ò¥H³oºØ XML ¤@ÂI·N¸q³£¨S¦³¶Ü¡H
- XML ªº®æ¦¡¸ÑĶ¡A¥i¥H¸ó¥¥x¡A¦ý¸ÑĶ¥X¨Óªº¤º®e¡A¥Nªí¤°»ò·N¸q¡H¥H¤Î¦p¦óÅã¥Ü®æ¦¡¡A«h¥¼¥²¤@©w¸ó¥¥x¡An¬Ý§A¦p¦ó¥h³W¹º¥¦ªºÅã¥Ü¤è¦¡¦Ó©w¡C©Ò¥H XML ªº²Ä¤@Ӻ믫¡AÅý§A¦Û¤v¥h³]p¦Û¤v¾A¥Îªº¼ÐÅÒ¡A³o¤@ÂI¬O§Ų́M¤£¯à©¿µøªº¥\¯à¡C
- ²Ä¤GÂI¡A´Nºâ¬O¸ó¥¥x¡A¥¦¤]¤£·N¿×µÛ¦b¦UÓ¥¥x¤W¬Ý°_¨Ó³£¤@¼Ë¡C´N®³§Ú̪º¹qµøÀð XML ¨Ó»¡¦n¤F¡A©Î³\ÁÙ¬O¥i¥H¸ó¥¥x¡A¤]´N¬O»¡¦b¹qµøÀð¨t²Î¤W¡A¥¦¬O¤£¦Pµe±Åã¥Ü¤£¦Pªº¤º®e¡A¦bÓ¤H PC ¤W¡A´N§ï¦¨¤F¶}¤£¦Pªº Browser Window Åã¥Ü¤£¦Pªº¤º®e¡C
³oÂI´N¬O§Ú¹ï§A§â XML ·í¦¨¤@ºØ¦b¦UºØ¥¥x¬Ò¥i¥H¥¿½TÅã¥Ü·Qªkªº¦^µª¡G
- ¦pªG©Ò¿×ªº¥¿½T Åã¥Ü¬O«ü©Ò¦³¹q¸£¨t²Î¬Ý°_¨Ó®ÄªG³£¤@¼Ë¡A®£©È XML ¨S³o»ò¯«¡C
- ¦pªG¬O«ü©Ò¦³¹q¸£¨t²Î³£¯à¥H¦Û¤vªº¤è¦¡¥h³B²z XML ¡AÁÙ¬O©êºp¡AW3C ¨Ã¨S¦³¸ò§A«OÃÒ³oÂI¡A¤@Ó XML ³Ì²×¬O§_¯à¦b
¦U¨t²Î¤WÅã¥Ü®æ¦¡¡A¬On¥Ñ¨î©w¦¹¤@¼ÐÅÒªº§@ªÌ©M³æ¦ì¡A¦Û¤v¥h¨î©w¾A¥Î©ó¦UºØ¹q¸£¨t²ÎªºÅã¥Ü®æ¦¡ÀÉ®× ¡A§A¦Ò¼{ªº·U©P¸Ô¡A´N·U¯à Cross Table ¡C- ¦Ó³Ì«á¤@ÂI¡AXML ³oºØ¸ê®Æ¤º®e»PÅã¥Ü®æ¦¡¤À§O³B²zªº¤è¦¡¡A¦³§U©ó Cross Table ªº³B²z¡A¬Oªº¡A¦b³oÂI¤W§Aªº½T¯à¨É¨ü XML ªº«K§Q¡A¤@¥÷¤º®e¡A¦hºØÅã¥Ü®æ¦¡¡A¥»¨Ó´N¬O XML ªº¥t¤@¤jºë¯«¡A³o¦b«e´X¤Ñªº Post ¤w¸g»¡ªº«Ü²M·¡¤F¡C
¿ß«}¼Ö¶é-¤pµµ Say:
- DTD ªº¸ÑÄÀ¡G
DTD ¨Ã«D©w¸q¡uÅã¥Ü®æ¦¡¡vªºÀɮסA¦Ó¬O©w¸q¡uXML¼ÐÅҮ榡¡v¡C¥H¦Ñ©Çªº¨Ò¤l¨Ó»¡¡ADTDªº¼gªk¥i¥H¬O¡G
<!ELEMENT MyPaper (Title, Content)>
<!ELEMENT Title (#PCDATA)>
<!ELEMENT Content (#PCDATA)>¦¹DTD¬O«Å§i<MyPaper>³oÓ¼ÐÅÒ¤¤À³¸Ó§t¦³<Title>©M<Content>³o¨âÓ¼ÐÅÒ¡A¦Ó«á¨âÓ¼ÐÅÒ§tªº¸ê®Æ«h³£¬O#PCDATA¡A¤]´N¬O¤å¦r®æ¦¡ªº¸ê®Æ¡C
¦A¥Ñ¦¹¨Ò¨Ó¬Ý¡A¦pªGDB¤¤¦³µ§MyPaperªº¸ê®Æ°O¿ý¦p¡G
Title:³oÓ¤]¬O¼ÐÃD®@¡I
Content:«x¡A³o¸Ì¬O¥»¤å¶Ü¡Hn¼g¤°»ò©O¡H¥i¥H·Q¨£¡A¸ÓDB¸ê®Æ¯à»´©ö³QÂà¼g¦¨XML¡C¤Ï¤§¥çµM¡AXMLªº¸ê®Æ¥i¥H³QÂ^¨ú¥X¨Ó©M¸ê®Æ®w§@ª½±µ¡]¦Ó¥B¥i§Y®É¡^ªº³sµ²¡C
¨Æ¹ê¤W¡AXMLªº³Ì¤j¥\¥Î¤£¥ú¬O©Ò¿×¡u¸ó¥¥x¡v©Î¡u¦h«Åã¥Ü®æ¦¡¡v¡A¦Ó¬O¥Î©ó¸ê®ÆÂà´«¡A¨Ò¦p¨â®a¼t°Ó¤§¶¡ªº¸ê®Æ¥æ´«µ¥µ¥¡C³o¤è±¦Ñ©Ç¦b¥t¤@post¤¤¸ÑÄÀ±o«Ü²M·¡¤F¡A¤pµµ¤£Âب¥¡C
Á`¤§¡ADTD¨Ã«D¦bÂsÄý¾¹¤¤Åã¥Ü®æ¦¡ªº¥²nÀɮסC¦ý¥Ñ©ó¥¦¥i¥HÅý¨Ï¥ÎªÌª¾¹D¸ÓXMLÀɪºµ²ºc¡A¬G¦p¦Ñ©Ç©Ò¨¥¡A¤Q¦ì³]pªÌ¥i¥H¨Ï¥Î¬Û¦PªºXMLÀɳ]p¥X¤QºØ¤£¦Pªºª©±¡A¦Ó¥L̮ھڪº´N¬ODTDªº©w¸q¡C
- CSS ªº¨Ï¥Î¡G
XML¥i¥H°t¦XCSS¨Ï¥Î¡A¦ý¯u¥¿®³¨Ó±±¨îXMLª©±ªº³Ì¤jªZ¾¹À³¸Ó¬OXSL¡]XMLªº Stylesheet Language¡^¦AÁ|¤W¨Ò¨Ó»¡¡AXSLªº¼gªk¥i¥H¬O¡G
<xsl:template match="/">
<html>
<body>
<H1><xsl:value-of select="MyPaper/Title"/></H1>
<P><xsl:value-of select="MyPaper/Content"/></P>
</body>
</html>
</xsl:template>³o¼ËÀ³¸Ó¬Ý±o¥X¨ÓXSL©MCSSªº¤£¦PÂI¡CXSLÁÙ¥i¥H¨Ï¥Îif-thenµ¥µ{¦¡½X¨Ó¿ï¾Ü¼ÐÅÒ¡A¬Æ¦Ü§@sorting¡C²z½×¤W¨Ó»¡¡An¥ÎXSL¥[¤WCSS¤~ºâ§¹¥þ´x±±XMLªº¶±½s±Æ¡C
- ¦pªGn¥ÎJS¨Ó³sµ²XML©MXSL
¥i¥Î¡G
<html>
<body>
<script language="javascript">
var xml = new ActiveXObject("Microsoft.XMLDOM")
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xml.load("mypaper.xml")
xsl.load("mypaper.xsl")
document.write(xml.transformNode(xsl))
</script>
</body>
</html>
- ©ÎªÌª½±µ¦bXML¤¤¥[¤J³sµ²XSLªºµ{¦¡½X¡G
<?xml-stylesheet type="text/xsl" href="mypaper.xsl"?>
´N¹³³sµ²CSS¤@¼Ë¡A³o¼Ë¦bIE5¤¤´N¥i¥Hª½±µÅã¥Ü¥X¸g¹LXSL½s±Æ¦nªºXMLÀɮפF¡C
nª`·Nªº¬O¡A³o¨âºØ¤èªk³£¬O¨Ï¥ÎClient SideÂà´«¡A»ÝnÂsÄý¾¹¤ä´©¡C¥Ñ©ó¥Ø«eNetscape 4.xÁÙ¥¼¤ä´©XML¡A©Ò¥H·QÅý¤@¯ëÂsÄý¾¹³£¯àÆ[¬Ý¡A³Ì¦n±Ä¥Î Server SideÂনHTMLÀɪº¤è¦¡¡C¡]¦³¿³½ìªºªB¤Í¥i¥H°Ñ¦Òwww.xml101.comºô¯¸¡C¤WzªºJS¬O¥Ñ¸Ó¯¸Â^¨ú¥X¨Óªº¡C¡^
XMLªº½T¤£¬O¥Î¨ÓA»Åªººô¶»y¨¥¡C¨Æ¹ê¤W¡A¥¦·|Åý¤@¯ëªººô¶»s§@ªÌ¡]§@Ó¤Hºô¶ªºªB¤ÍÌ¡^§ó³Â·Ð¡A©Ò¥H¦b¥¿±`ª¬ªp¤¤¨Ã¤£»Ýn¨Ï¥ÎXML¨Ó»s§@ºô¶¡C
¦]¬°§â®æ¦¡©M¤º®e¤ÀÂ÷¤F¡A©Ò¥H¥u§t¦³¤º®e¡]¸ê®Æ¡^ªºXMLÀÉ¥i¥HÂনWML©ÎVoxML©Î¥ô¦ó¡uML¡v±Úªº»y¨¥¡A¬Æ¦ÜPostscript©MPDF¡C¤pµµ¥H¬°¡A³o´N¬O¥¦©Ò¿×ªº¡u¸ó¥¥x¡v¤§«Â¤O©Ò¦b¡C¦ý·íµM¡A°w¹ï¦UÓÅã¥Ü¥¥x¡]´CÅé¡^¡A³£»ÝnÓ§O»s§@Âà´«¥Îªº®æ¦¡ÀÉ¡C¬G¡AXML¼W¥[¤Fªì´Á³Wµeªº§xÃø¡A¬°ªº¬O¤è«K«á´Áªº»s§@¬yµ{¡AÅý¤j¶qªººô¶ºÞ²z§ó¨ã¼u©Ê»P³sµ²©Ê¡C
¨ä¥LÂø¤å¯Á¤Þ ¦^¦ó³B¹Ð®J¤ÀÃþ¾ÉÄý