Why XML?
Why XML?
There already exists a standard for defining markup languages like HTML.
What's wrong with these markup languages? Why do we need XML? The main
point of XML is that, by defining your own markup language, you can encode
the information of your documents much more precisely than is possible
with HTML. This means that programs processing these documents can
"understand" them much better and easier, and therefore process the
information in ways that would be impossible with HTML (or any other
free-form text formats). Imagine that you marked up inventory items
(for, say, product ID and quantity etc) according to a schema tailored
for inventory where you entered the stock level of each inventory and
the supplier track records. You could then easily make a program that,
given a list of the inventory items, would go through the entire list
and make a list of orders in order to fulfill a given new order.
Given the urgency of the order and pricing etc., the program could
sort the suggestions by the best suppliers and summarize the costing,
or by how long they'd take to ship, etc. The possibilites are almost
infinite, because the information is encoded in a way that the computer
can "understand".
With the power of XML, information can be encoded in a more meaningful way.
In addition, with an optional DTD or XML Schema which gives a standard
format for information related to a specific subject, it can be used to
simplify the exchange of information between different sources. Many
kinds of applications have or will have standard DTDs or XML Schemas.
In fact, more than 200 of such standards for different applications
(e.g., financial news, oceanology, chemistry, mathematics, banking)
have been defined (readers can find the details of these standards
from www.oasis-open.org). This means that systems of these industries
can use these common DTDs or XML Schemas to exchange information with
each other, regardless of their internal format.
Technically speaking, because of the increasing popularity of XML,
we will see a higher and higher degree of tightly coupling between
XML and Java, XML and .NET, XML and other Web/mobile standards.
Therefore, we foresee the role of XML is becoming increasingly
important everyday.
To learn more about XML and its applications for World-Wide Web,
please enroll the seminar held by the Department of Computer Science,
Hong Kong Baptist University as follows:
Speaker: Dr. Raymond Wong
(Senior Lecturer, The University of New South Wales, Australia)
Date: June 16-25, Wednesday and Friday, 6:30 p.m.-8:30 p.m.
Course Fee: HK$950
Homepage: http://www.comp.hkbu.edu.hk/~training
¬°¤°»ò¥ÎXML?
¥Ø«e¤w¸g¦s¦b¤@ӥΨөw¸q¼Ð°Oªº»y¨¥¼Ð·Ç¡A¦pHTML¡C³o¨Ç¼Ð°O»y¨¥¦³¤°»ò°ÝÃD¶Ü¡H
¬°¤°»ò§ÚÌ»ÝnXML? XMLªº¥Dn§@¥Î¦b©ó³q¹L©w¸q§A¦Û¤vªº¼Ð°O»y¨¥¡A§A¥i¥Hµ¹§Aªº
¤åÀɸê°T½s½X¡A³o¨Ç½s½X·|¤ñ¥ÎHTML½s½X§ó¬°ºë½T¡C³o´N·N¨ýµÛ³B²z³o¨Ç¤åÀɪºµ{¦¡
¯à°÷§ó¦n¡A§ó®e©ö¦a"²z¸Ñ"¥LÌ¡A¦]¦¹¡A³B²z³o¨Ç¸ê°Tªº¤èªk¥i¯à¬OHTML¡]©Î¨ä¥L¥ô¦ó
¤å¥»®æ¦¡¡^©Ò¤£¯à°÷¶i¦æªº¡C³]·Q¤U±ªº±¡ªp¡A¬°°O¿ý§Aªº¸Ô²Ó¦s³f²M³æ¡A§An®Ú¾Ú
¤@Ó¬°¥Ø¿ý¦Ó©w¨îªºschema¨Ó¼Ð°O¦s³f¥Ø¿ý±ø¥Ø¡]¤ñ¦pproductID©Mquantityµ¥µ¥¡^¡A
¨ÑÀ³°Ó±N°lÂܳo¨Ç°O¿ý¨Ó¨Ñ³f¡C§A¥i¥H«Ü®e©ö¦a°µ¤@Óµ{¦¡¨Ó¹ê²{¡Aµ¹©w¥Ø¿ý±ø¥Ø¦Cªí¡A
¹M¾ä¥þ³¡¦Cªí¡A¨î©w·sªºq³æ²M³æ¡A±q¦Ó§¹¦¨¤@Óµ¹©wªº·sq³æ¡C¦pªG¦Ò¼{q³æ©M»ù®æ
ªººò«æ±¡ªpµ¥µ¥¡A³oÓµ{¦¡ÁÙ¥i¥H¹ï¨ÑÀ³°Óµ¹¥X±Æ§Çªº«ØÄ³¡A¨Ã¥BÁ`p¶O¥Î¡A©ÎªÌ
¹ï¦hªø®É¶¡¨ì³fµ¥µ¥±Æ§Ç¡C¦UºØ¥i¯à©Ê´X¥G¬OµL¦hªº¡A¦]¬°¸ê°T¬O³q¹L¹q¸£¥i¥H
"²z¸Ñ"ªº¤è¦¡¶i¦æ½s½Xªº¡C
³q¹LXML¡A¸ê°T¥i¥H¥H§ó¦³·N¸qªº¤è¦¡¶i¦æ½s½X¡C¥t¥~¡A³q¹L¿ï¾ÜDTD©Î«h
XML Schema¡]XML Schema¬O¬°¬ÛÃö¤@Ó¯S©w¥DÅ骺¸ê°T´£¨Ñ¤@ºØ¼Ð·Ç®æ¦¡¡^¡A
¥¦¯à²¤Æ¦b¤£¦P¸ê°T·½¤§¶¡ªº¸ê°T¥æ´«¡C³\¦h¹ê»ÚÀ³¥Î¤w¸g©ÎªÌ§Y±N¾Ö¦³¼Ð·ÇªºDTDs
©ÎªÌXML Schemas¡C¨Æ¹ê¤W¡A ¶W¹L200Ó³o¼Ëªº¤£¦PÀ³¥Î»â°ì¡]Á|¨Ò¨Ó»¡¡A°]¸g·s»D¡A
®ü¬v¸ê·½¬ã¨s¡A¤Æ¾Ç¡A¼Æ¾Ç¡A»È¦æ·~¡^ªº¼Ð·Ç¤w¸g³Q©w¸q¡]ŪªÌ¥i¥H±q³oùØ
www.oasis-open.org¬d§ä³o¨Ç¼Ð·Çªº¸Ô²Ó¸ê°T¡^¡C³o´N·N¨ýµÛ³o¨Ç¤u·~¨t²Î¥i¥H
¨Ï¥Î¤½¦@ªºDTDs©ÎªÌXML Schemas¨Ó©¼¦¹¥æ´«¸ê°T¡A¦Ó¤£¥Î¦Ò¼{¨ä¨t²Î¤º³¡ªº®æ¦¡¡C
±q§Þ³Nªº¨¤«×¨Ó»¡¡A¦]¬°XMLÅܱo§ó¥[¬y¦æ¡A§Ú̱N·|¬Ý¨ìXML©MJava¡AXML©M.NET¡A
XML©M¨ä¥LªºWeb/mobile¼Ð·Çºò±Kµ²¦Xªºµ{«×¶V¨Ó¶V°ª¡C¦]¦¹¡A§ÚÌ¥i¥H¹w¨£XML
ªº§@¥Î¤w¸gÅܱo¶V¨Ó¶V«n¡C
·Qª¾¹D§ó¦hÃö©óXML©M¥¦¦b¤¬Ápºô¤WªºÀ³¥Î¡A½Ð³ø¦W°Ñ¥[®û·|¤j¾Çpºâ¾÷¬ì¾Ç¨t
±MÃD°Q½×·|¡A¸Ô±¡¦p¤U:
Á¿ªÌ: ¶À°ê°ò³Õ¤h (¿D¬w·s«n«Âº¸´µ¦{¤j¾Ç°ª¯ÅÁ¿®v)
¤é´Á: ¤»¤ë¤Q¤»¦Ü¤G¤Q¤¤é¡A³{¬P´Á¤T¤Î¬P´Á¤¡A±ß¤W¤»®É¤T¤Q¤À¦Ü¤K®É¤T¤Q¤À
¶O¥Î: HK$ 950
ºô§}: http://www.comp.hkbu.edu.hk/~training