XML 的時代 XML Era 國立台灣師範大學 資訊工程系 葉耀明 [email protected].

55
XML 的的的 XML Era 的的的的的的的的 的的的的的 的的的 [email protected]
  • date post

    18-Dec-2015
  • Category

    Documents

  • view

    242
  • download

    7

Transcript of XML 的時代 XML Era 國立台灣師範大學 資訊工程系 葉耀明 [email protected].

XML 的時代XML Era

國立台灣師範大學資訊工程系

葉耀明[email protected]

內容大綱 (Contents)

• 從 Internet 時代到資訊全自動化時代 (From Internet era to information full automation)

• Web 新架構 (New architecture of Web Technology)

• XML 家族 (XML Family)• 第二代全球資訊網重要特性 (Characteristics of

Generation 2 Web Technology)

XML 與資訊科技發展XML and IT Development

1950 1960 1970 1980 1990 2000 2010

電腦發明

第一代電腦ENIAC

Main Frame Computer

ARPANETBITNET

IBM 360 IBM 370 CRAY Deep Blue

Internet (TCP/IP)

World-Wide WebHTML- 第一代 WWW

XML

第二代 WWW

主機時代

網路時代

資訊全自動化時代

Client/Server

PC

Windows

DataBase

UNIX LinuxPDA

IA

MIS Web ComputingC Java

WAP,GPRS,3G WLAN, WiMAX

PC時代

企業 e 化 (ERP+B2B)後 PC

COBOL中央集權式 (One-tier) (Two-

tier)(Three-tier)

IPv6(Four-tier)

Cluster

Grid Cloud Computing

2012

IPv4

Y2k

Yv4

Cloud Computing

網路發展過程Development of Network

• 1960- :網路源起 (The rise of network)– Bitnet(VAX, digital Inc., 學術網路 ), IBM Network( 商業網路 , VAN)

( 獨立網路 )– ARPANET: TCP/IP (1968-)

• 1980- : Internet( 學術網路 )– WAN : TCP/IP ( 網路進入網網相連時代 ), VAN( 商業網路 )– LAN : Ethernet, Token Ring(IBM)

• 1990- : World-Wide Web( 第一代 )– HTML (1989-) ( 網路進入多媒體時代 )

• 2000- : World-Wide Web( 第二代 )– XML (1998-) ( 網路進入自動化資訊處理時代 )!!!– IPv6: 下一代網際網路 ? ! (2012 IPv4 用完 )

• IPv6-Mobility/IPv6-Security

• 2005- :服務基礎架構 SOA (Service-Oriented Architecture)– Web Service Architecture

• 2007- : 下一代網路 NGN (Next Generation Network)– Convergent network 匯流網路

• 2008-: 雲端計算 Cloud Computing– SaaS, PaaS, IaaS

Network, Internet, Web, XML

• Network: 網路– 資料網路 (Data Communication) : IP

network– 電話網路 (Telecommunication):VoIP– 電視網路 (Cable Network):IPTV,VoD– 行動網路 (Mobile Network): WAP 匯流網路 (Convergent network): Q

uad-Play• Internet : 網際網路

– 廣域網路 (WAN), 區域網路 (LAN)– 分散式計算 (Distributed Computing)

• Web :資訊網– HTML

• XML :技術平台– 不是單純的一個語言– 半個電腦語言– 只有 Syntax– Functions 和 Commands 由 User 自

Network

Internet

Web

XML

XML

Internet 時代 (Internet Era)(1995-)

• Internet 滲透到企業和家庭 (Internet used in Enterprise and Home)– 骨幹網路 (Core Network) : T1 到光纖 (FTTx)

– 最後一哩 (Last Mile); 接取網路 (Access Network) :撥接到寬頻 (dial up to broadband)

• 資訊上網 (Information posted on Internet) :第一代全球資訊網 (generation 1 Web technology)– 多媒體資訊上網 (multimedia used on Internet)

• 新型態的資訊爆炸 (information explode)

資訊全自動化時代的趨勢 (2000-)

• Internet 滲透到個人 24 小時的活動 (Ubiquitous)– Backbone 骨幹網路:頻寬不再是問題– Last Mile :寬頻和無線雙網– IP 網路 (IP network) 、電話網路 (Telecommunication, phone

network) 、電視網路 (Cable TV, TV network) 、行動網路 (Mobile network) 四網整合 (integration): called convergent network

• 計算資源無限制 (unlimited computing resources) :格網 (Grid) 整合 (grid computing)– SAN (Storage Area Network) :可延伸伺服器 (Scalable Ser

ver)+ 大記憶容量 (RAID)– Cloud Computing

• 資訊處理全自動 (information automation) : XML– E-Commerce E-Business

“Anytime Anywhere Anything and Automation on Any Device”:

5A 網路時代 (5A era)XML-based Web Resources

PDA

Web Service (Agent Computing)

Cloud Computing

XML 的影響The Influence of XML

• XML 是使電腦軟體工業質變的導火線(XML changes the computer software industry and technology)

Software

Content

Service

IDC

ASP

XML

JAVA

(Internet Data Center)

(Application Service Provider)

ICP(Internet Content Provider)

Web Service

程式處理與 XML(XML and Computer Programs)

Programtxt

xmlxml

txt

Program

Web Service soapsoap

Web Application

messagemessage

下一代全球資訊網 ( 一 )Next Generation WWW

• 全球性網路整合知識庫 (integrated web knowledge)

• 全球性網路整合服務 (integrated web services)

webdata

webservice

webdata

webdata

webservice

webdata

webservice

webdata

webdata

以 Internet Workflow 整合服務和內容知識(Internet workflow technology to integrate web knowledge and services)

下一代全球資訊網 ( 二 )Next Generation WWW

• 第一代 Web (Generation 1 Web): HTML– 網頁資訊 Web Data (for human; GUI)

• 第二代 Web (Generation 2 Web): XML– Web Data: Semantic Web (XML 網頁 ) 可形成整合知識庫的知識網頁 (integrated web knowledge)

• XML Schema/RDF/OWL (for human & machine)• Content Registry/Repository (ebXML)(OODBMS)

– Web Service: 可透過網路動態整合的網路服務 Web program, Web software (XML 訊息 ) (integrated web services)

• SOAP/UDDI/WSDL (for human & machine)• BPEL (internet workflow)

– Cloud Computing• SaaS (Software as a Service), PaaS(Platform as a Service), IaaS(Infr

astructure as a Service)

Markup Language 的歷史 (History)

• 1969: GML (Generalized Markup Language) 登月年– Ed Mosher, Ray Lorie, Charles F. Goldfarb (IBM Research)

• 1986: SGML (Standard Generalized Markup Language)– ISO(International Organization for Standard) ISO-8897 htt

p://www.iso.ch – Metadata ( 詮釋資料、後設資料、元資料 )

• 1989: HTML– Tim Berners Lee (CERN, MIT)– data + presentation

• 1998/2: XML (The ASCII of the Web)– W3C(World Wide Web Consortium) http://www.w3.org

– Subset of SGML– XML(data+metadata), XSL(style sheet; presentation)– http://www.w3c.org/TR/REC-xml

何謂 XML?(What is XML)

• eXtensible Markup Language 延伸標記語言

• 具有詮釋資料的網頁語言 (a webpage language which has metadata)

• XML 具有樹狀結構的語法,可依應用需求訂定詮釋資料與功能 (XML has tree structure syntax, but with the flexibility to define its own metadata and functions)

XML 、 HTML 、 SGML 的比較

Example: SGML Document

<!DOCTYPE email [<!ELEMENT email O O ((to & from & date & subject ?), text) ><!ELEMENT text – O (para+) ><!ELEMENT para O O (#PCDATA) ><!ELEMENT (to, from, date, subject) – O (#PCDATA) >]><date>10/12/99<to>[email protected]<from>[email protected]<subject>Happy New Year<text>I just mailed to say …

Example: XML Document<?xml version=”1.0”?><books> <book category=”reference”> <author> 葉耀明 </author>

<title>COBOL 與檔案技術 </title><price>200</price>

</book> <book category=”fiction”>

<author>J. K. RowLing</author> <title>Harry Potter and the Goblet of Fire</title> <price>450</price>

</book></books>

Example: XML Document( 中文 )

<?xml version="1.0" encoding="Big5" ?>

< 產品搜尋 >

< 摘要 > 搜尋字串:“滑鼠 鍵盤”,共找到 2 筆 </ 摘要 >

< 產品 >

< 貨號 >12478943</ 貨號 >

< 品名 > 手不痛健康滑鼠 </ 品名 >

< 定價 >$234</ 定價 >

< 說明頁 網址 ="http://foo.bar/mouse/12478943"> 上市發表會 </ 說明頁 >

</ 產品 >

< 產品 >

< 貨號 >83424723</ 貨號 >

< 品名 > 打不響靜悄悄鍵盤 </ 品名 >

< 定價 >$067</ 定價 >

< 說明頁 網址 ="http://foo.bar/kbd/83424723"> 產品特性 </ 說明頁 >

</ 產品 >

</ 產品搜尋 >

Example: HTML Document

<HTML><H1 ALIGN=CENTER> 硬體 </H1><FONT FACE size=2> 顯示卡 </FONT><FONT FACE size=2> 誠洲 </FONT><FONT FACE size=2> 世旻電腦 </FONT><FONT FACE size=2> 張大明 </FONT>

SGMLvs.XMLvs.HTML

• SGML 是長時間存放的電子文件語言 (SGML is for long-term electronic document and operational menu )

• SGML 建置費用高,大都在 MainFrame 平台 (SGML mainly on mainframe computer and high installation cost)

• XML 是網頁文件語言、資料交換語言、資料處理語言、文件整合語言... (XML can be web document language, data exchange language, data processing language, document integration language)

• XML 的應用範圍幾乎沒有限制 (the application for XML is almost unlimited)

• HTML 是網頁呈現語言、超文件語言 (HTML is Webpage presentation language, hypertext language)

XML 文件 (Document)

• 文件內容 document content(metadata+data)– XML(eXtensible Markup language)

• 結構定義 document structure (Structure+ metadata Definition)– DTD(Document Type Definition)– XML Schema (DTD+Datatype)

• 顯示 document presentation (Presentation)– XSL(eXtensible Stylesheet Language)– XSLT+XHTML+XPath+(XLink)

從 HTML 到 XML

Data+

多媒體呈現

.htm

Data+

metadata

資料結合+

多媒體呈現

結構定義StructureDefinition

.xml

.xsl

.dtd /.xsd

主角

配角一

配角二

網頁呈現

B2B電子商務

Web Page Presentation

E-commerce

HTML 的限制(Limitations of HTML)

• HTML 只提供資料呈現功能 HTML provides only data presentation

• 瀏覽器作業機制受限 ( 單一語言和應用 )Browsers provide single language mechanisms

• 網頁搜索不精確 Webpages search are not concise• 擴充困難 The extension of HTML is difficult • 網頁邏輯關係不易建立 ( 網頁分級、認證 ) Webpages can

not build logical relationship • 單方向鏈結產生 Dangling Link 問題 hypertext provides si

ngle direction, which results in dangling link• Web 資源限於瀏覽器無法讓其他應用使用 Web resources

are limited for the browsers only

XML 的優點 (Advantages)

• 開放平台: open, platform-independent• Vocabulary: 可以依 Application Domain 定義 tag

– An XML vocabulary is a description of XML data that is used as the medium for information exchange, often within a specific domain of human activity(business, chemistry, law, music, for example)

– Semantic tag( 語意標籤 ) :資料處理用– Function tag( 功能標籤 ) :呈現或特殊處理用

• Program Readable– 可以做為任何程式的輸入資料 (as the input data of any program)– 可以讓電腦自動讀網頁 (program can read web page)– 可以讓網路兩端的程式做各種功能的自動對話 (remote programs

can use XML document as data exchange and dialog)

Web New Framework新架構:瀏覽器

• XML 改變了瀏覽器的內部結構 (Client Side) XML changes the browser design structure – HTML Interpreter XML Parser

• XML 使“ Hypertext” 網頁變成“ Application” 網頁 (Server Side) XML changes hypertext webpages into application webpages– Application Software Browser Software

– One-Page Web Application

Client Side of Web-HTML

呈現模組presentation

瀏覽器 Browser

HTTP Server

URL

HTML File

直譯器 interpreter

ParserValidateExecute

Client Side of Web-XML

XML Parser呈現模組

presentation

瀏覽器 Browser

HTTP Server

URL

XML FileValidaterDocumentHandler

應用程式 Application

Java, ASP

DOM on the Client Side

HTTP Server

URL

XML File

XSL File

XMLParser呈現模組

Presentation

瀏覽器

Browser

Validater

DocumentHandler

Application

DOM EngineXSL Engine

XML Tree

XSL Tree

Result Tree

DTD/XML Schema Engine

XHTMLEngine

XSLT

XHTMLTree

XML, XSL與 HTML<html><head><title> 人事表 </title><body><table border="1" cellpadding="5"><tr><td> 張愛玲 </td><td>02/21/1947</td><td> 記者 </td><td> 賴文山 </td><td> 閱讀書籍、看電視、游泳、慢跑 </td><td><div STYLE="COLOR:red">[email protected]</div></td></tr><tr><td> 吳大明 </td><td>01/21/1952</td><td> 律師 </td><td> 蔡麗美 </td><td> 閱讀書籍、睡覺 </td><td><div STYLE="COLOR:red">[email protected]</div></td></tr><tr><td> 陳惠惠 </td><td>03/11/1947</td><td> 護士 </td><td> 黃承人 </td><td> 看電視、游泳 </td><td><div STYLE="COLOR:red">[email protected]</div></td></tr>

HTML檔

XML, XSL 與 HTML( 續 )

XML, XSL 與 HTML( 續 )<?xml version="1.0" encoding="BIG5"?><?xml-stylesheet type="text/xsl" href=“pdb.xsl"?><Pdatabase> <PersonData> <name> 張海琳 </name> <birth>02/21/1947</birth> <occupation> 記者 </occupation> <spouse> <wife> 賴文山 </wife> </spouse> <interest> 閱讀書籍、看電視、游泳、慢跑 </interest> <email>[email protected]</email> </PersonData> <PersonData> <name> 吳大明 </name> <birth>01/21/1946</birth> <occupation> 國中老師 </occupation> <spouse> <wife> 蔡麗美 </wife> </spouse> <interest> 閱讀書籍、睡覺 </interest> <email>[email protected]</email>

</PersonData><PersonData><name> 陳惠惠 </name> <birth>03/11/1947</birth> <occupation> 護士 </occupation> <spouse><husband> 黃承人 </husband> </spouse> <interest> 看電視、游泳</interest> <email>[email protected]</email></PersonData></Pdatabase>

XML檔

XML, XSL 與 HTML ( 續 )

<?xml version="1.0"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <HTML> <BODY> <TABLE BORDER="1" CELLPADDING="5"> <xsl:for-each select="Pdatabase/PersonData"> <TR> <TD><DIV STYLE="FONT-WEIGHT:bold"><xsl:value-of select="name" /></DIV>

</TD> <TD><xsl:value-of select="birth" /></TD> <TD><xsl:value-of select="occupation" /></TD> <TD><xsl:value-of select="spouse" /></TD> <TD><xsl:value-of select="interest" /></TD> <TD><DIV STYLE="COLOR:red"><xsl:value-of select="email" /></DIV></TD> </TR> </xsl:for-each> </TABLE> </BODY> </HTML> </xsl:template></xsl:stylesheet>

XSL檔

Web 新架構: Server 端• XML 改變 Web Server 的網頁管理模式 XML change the

webpage management mechanism of web Server– File System Management: each file Hierarchical Data Model Management: each Data Item

• Outside XML document: URI, RDF (semantic web)• Inside XML document: XPath

• XML 增加了網頁閱讀者族群 XML includes new webpage readers– Human Reader– Machine Reader: Intelligent Mobile Agent; Web Crawler 爬蟲程

Web Architecture with XML

XML orHTML

Document

HTTP Server with scripts

Programs and

Agents

XMLDocument

HTTP Server

RelationalData

Application Server

HierarchicalData

Java ServletJSP, ASP

XML Hierarchical Data Model

HTML:file無 no data model concept

基本單元 (Basic Unit):File基本單元 (Basic Unit):element(data item)

XML

Web address:URLWeb address: URI+XPath

OWL: Ontology Tree Knowledge Model RDFS: Object Oriented Data ModelRDF: 網頁間 Basic Knowledge ModelXML Schema: 網頁內 (inside document)data model

URI

URI (Uniform Resource Identifier)

URL (Uniform Resource Locator)

網路上的資源

URN (Uniform Resource Name)

電腦內的資源

新一代網址New Generation Web Address

• URI(Uniform Resource Identification)– URL(Uniform Resource Locator): remote resou

rce– URN(Uniform Resource Name): local resource

• XPath– Data item address in a XML document

• 註: RDF: give semantic property & value for resource

XML as DataXML Schema, Namespace,

XPath, XQuery, RDF, OWLXForms,,XLink,XPoint,

XML 家族與技術平台XML Family & Tech Platform

XML CoreXML Syntax, DTD, Parser(DOM/SAX)

XML VisualPresentation

XSL,XHTML,CSS,SVG,WML

XML Vocabulary ebXML , SVG ,SMIL, MathML,VoiceXML,Rossetanet, SCORM, XBRL,HL7

XML 技術平台 (Tech Platform)

XML 在各領域及電子商務標準(XML Domain Specific & eCommerce Standards)

Web ServicesSOAP, WSDL,

UDDI, XProtocol

XML 標準的發展過程XML Family Development

• 11/1996 : XML Working Draft– 確定 W3C 對 Web 的發展方向 (Web Tech Direction)

• 2/1998 : XML Recommendation– 確定 Web 文件的統一格式 (New Webpage format)

• 11/1999 : XSLT & XPath Recommendation– 確定 XML 文件的呈現機制 (New Webpage Presentation mechanism)

• 05/2001 : XML Schema Recommendation– 確定 XML 文件的資料處理機制 (New webpage data processing mechanis

m)• 07/2001 : SOAP, ebXML 1.0

– 確定 XML 式的網路服務機制 ( Web Services mechanism)– 全球電子市集基礎標準:新一代電子商務平台 (B2B e-commerce platfor

m)• 2002: Web Services (UDDI/WSDL/SOAP)• 2003: SOA (Service-Oriented Architecture)• 2007:

– Semantic Web Architecture 的發展– SOA (Service Oriented Architecture) 的發展 , GRID 格網

• 2008: Cloud Computing 雲端計算

Core

XML(eXtensible Markup Language)XML 1.0 Recommendation(1998/2/10;5th Edition 2008/11/26)XML 1.1 Recommendation (2004/2/4;2nd Edition 2006/8/16) XML Namespaces Recommendation (1999/1;2nd Edition 2006/8/16)

DTD(Document Type Definition)Recommendation(ISO standard)

DOM(Document Object Model) Level 1 Recommendation ,1998/10;2nd Ed. 2000/9/29 Level 2 Recommendation,2000/11/13

Core, Views, Events, Style, traverse and Range, HTML Level 3 Recommendation, 2004/4/7

Core, Load&Save, Validation, XPath, View&Formatting

SAX(Simple API for XML) (Notes)

XML Visual PresentationXSL(Extensible Stylesheet Language) 1.0 2001/10/15,

Transformation(Recommendation)1999/11/16; XSLT 2.0 Working Draft 2005/9/15XSL-FO(Formating Object) 2006/12/05 (XSL 1.1)XPath (Recommendation)1999/11

CSS(Cascading Style Sheets)Level 1 Recommendation1996/12Level 2.1 Candidate Recommendation 2007/7/19

XHTML(Extensible Hypertext Markup Language)XHTML1.0(Recommendation)2000/1: from HTML 4.01XHTML1.1(Recommendation)2001/5/31(Module-Based)XHTML2.0 Working Draft 2006/7/26

XHTML-Basic(Recommendation)2000/12/19 1.1 Candidate Rec. 2007/07/13 OMA (Open Mobile Alliance)

HTML5: 2010/6/24SVG(Scalable Vector Graphics) (Recommendation )2001/9 1.1 Rec. 2003/1/14

SVG 2.0 Working Draft 2005/4/13SVG Mobile Rec 2003/1/14, SVG Print WG 2007/5/1

Silverlight by MS: SVG+SMILWML(Wireless Markup Language): display 2G

XML as Data XML Schema (Recommendation )2001/5/2 1.1 WD 2006/2/17

Primer, Structure, Datatypes 2004/10/28 Component Designators WG Linking: XLink (Recommendation)2001/6/27

XPointer (Recommendation)2003/3/25 XML Base Rec. 2001/6/27

Querying: XQuery (Recommendation) 2007/6/23 XML-QL(Notes IBM), XQL(Notes MS)

XForms 1.0 (Recommendation)2006/3/14; 1.1 RDF(Resource Description Framework) Rec. 1999/2 Rev. 2004/2/4

Syntax, Schema, Primer, Concepts and Abstract Syntax, Semantics, Test Case OWL(Web Ontology Language)Rec. 2004/2/10

Overview, Guide, Reference, Semantics and Abstract Syntax, Test Case, Use Case and Requirement, XML Presentation Syntax

SPARQL:

Web Services(By W3C, OASIS)

SOAP 1.2(Simple Object Access Protocol)(Rec) 2007/4/27 XML-RPC(Remote Procedure Call)(Notes), WDDX

(Web Distributed Data Exchange) (Notes), WIDL(Web Interface Definition Language) (Notes)

XML Protocol (Working Draft)2001/7/9 OASIS: SOA

– WSDL– UDDI– …

XML Vocabulary

• Computer Vocabulary– SMIL(Synchronized Multimedia Integration Language) (Recommend

ation )1998/6 SMIL2.0 Proposed recommendation 2001/6– P3P(Platform for Privacy Preference Project)(Candidate Recommend

ation) 2000/12/15– XML Encryption(Recommandation)v1.0 2002 v1.1 2009/07/30– XML Signature(Recommendation)2002/2/14 v1.1 2009/07/30– XMI(XML Metadata Interchange): by OMG, UML diagram– X3D: Virtual Reality– VoiceXML (Voice eXtensible Markup Language)2000/3 – CDF(Channel Definition Format) (Notes), SGF(Structured Graph Fo

rmat), XUL(XML-based User Interface Language), BML(Bean Markup Language), CPML(Call Policy Markup Language), WebCGM (Computer Graphics Metafile Standard) (Recommendation )1999/1, PGML(Precision Graphics Markup Language) (Notes)…

XML Vocabulary -eCommerce

• Business Vocabulary: • Vertical Specification

– RosettaNet– XBRL (Extensible Business Reporting Language)– GCIP(Global Commerce Internet Protocol)– OTA (Travel Industry)– IFX(Interactive Financial Exchange)

• Horizontal Specification– ebXML– BizTalk Framework, XML/EDI, CommerceXML(cXML)– CBL(Common Business Library)

EDI(Electronic Data Interchange)XML

XML 基礎標準 (Foundation)

XML 水平規範 (Horizontal)

XML 垂直規範 (Vertical)

XML Vocabulary -Continued- • Scientific Vocabulary:

– CML(Chemical Markup Language), – MathML 2.0 (Recommendation)2001/2– BSML(Bioinformatic Sequence Markup Language)– IML(Instrument Markup Language), – AIML(Astronomical Instrument Markup Language)

• Education Vocabulary– SCORM(Sharable Content Object Reference Model)

– QTI(Question and Test Interoperability ) by IMS– LIP(Learner Information Package )by IMS– LMML(Learning Material Markup Language)– TML(Tutoring Markup Language)

• Legal Vocabulary– XFDL(Extensible Forms Description Language)

• Medical Vocabulary– HL7(Health Level 7)

W3C 與 XML

XML

DOM XML Schema XSL

技術創新 Tech Innovation

XProtocol

SOAP

RDF

OWL

SSML

VoiceXML

技術改良Tech Improvement

XLink

XForm

MathML

Xencryption/

XSignature

SVG

SMIL

社會面

Social

P3P

AccessibilityWCAG

Web Services

Semantic Web

Voice Browser

XML 相關標準的組織與規範XML Related Standards & Organizations

De Jury 標準組織業界標準

De Factor 標準組織

ISO

國際官方International Official

國家官方National Official

跨國業界InternationalVendors

國際業界

官方標準

IEEEIETF

W3C

UN/CEFACT

國際協會International Organization

ANSI

CNS

OASIS

UDDI

Microsoft

Proprietary 技術

業者 LocalVendors

RFC 系列 (TCP/IP)

XML 系列 (WWW)

ebXML

BizTalk

OSI 系列

EDI 系列

UDDI/WSDL

IBM

OMG UML

CORBASOAPODBC

WSFL

TAMInet

VoiceXML

Rosettanet

SOA

IMS

網路技術重要標準組織Internet Related Organizations

• Internet 標準 (Internet Standards)– IEEE/IETF– RFC 系列

• Web 基礎標準 (Web Foundation standards)– W3C– XML 系列

• Web 應用技術標準 (Web Application Tech Standards)– OASIS– SOA 系列

台灣在 XML 的導入應用Taiwan XML Applications

• 電子化公文系統 (e-document workflow) :行政院研考會 (1999-2001) (XML, DTD)(e-document exchange application)

• B2B 電子商務計畫 (B2B e-commerce project) :經濟部 (1999-)– A 計畫、 B 計畫:資訊流 (Rosettanet) 電子業 electronic industry B2B– C 計畫:金流 (banking exchange)– D 計畫:物流 (logistics exchange)– E 計畫:協同設計 (Design cooperation)– 產業電子化標準計畫:傳統產業 B2B(traditional industry B2B)

• E-Taiwan共通平台計畫 (e-Government Service Platform) :行政院研考會+ 各單位 (2002-2008) (Web Services)

• 國家型數位學習計畫 (National e-Learning Project) :國科會 (2002-2007) (SCORM)

• 國家型數位典藏計畫 (National Archie Project) :中研院 (2000-)(Dublin Core)

• 註: IPv6 建置發展計畫:交通部電信總局 (2003-2007)

第二代全球資訊網技術重要特性Web Tech Generation 2 Characteristics

• 以 XML為基礎的電子商務 (XML-based E-Commerce) : ebXML

• 以 XML為基礎的數位學習 (XML-based e-Learning) : SCORM

• 以 XML為基礎的資料倉儲 (XML-based Data bank) :Registry/Repository (ebXML)

• 個人化網頁結合 XML 技術提供全方位軟體介面 (Personal Webpage with XML tech) :

• 任何裝置都可上網 (Any device can access Web pages) : XHTML-Basic, WML

第二代全球資訊網技術重要特性( 續 )

• 個人化瀏覽器 (Adaptive Browser) • 語音瀏覽器 (Voice Browser) : VoiceXML• 智慧型代理人程式 (Intellegent Agent Programs)• 網頁文件格式將會多樣化 (Web Documents are divers

ed) • 網路資源形成語意資訊網 (Semantic Web for web re

sources) • 資訊網服務 (Web Services) 提供新型態的服務模式

(Web services provides new service model)– Cloud Computing

總結 (Conclusions)

• XML開啟了資訊全自動化的時代 (XML open the era of information automation)– Intelligent Mobile Agent;爬蟲程式 (web Crawler)

• XML適合電腦各個領域的應用 (XML can apply to any domain in Computer related fields)

– Computer Graphics, Image Processing, Database, WAP, Accessibility, Multimedia, Distributed Processing ...

• XML適合各種行業的電腦需求 (XML can be used in any domain for information and data exchange)– 電子業、醫學、航太、化學、數學...– Banking, logistics, healthcare, construction, e-commerce, governme

nt, …

• XML 引領了下一代 Web (XML leads to the 2nd generation web technology)

參考網站• http://www.w3.org• http://www.xml.org• http://www.oasis-open.org/home/index.php• http://www.xml.com• http;//www.xml.org.tw• http://www.rosettanet.org• http://www.ebxml.org• http://www.biztalk.org• http://msdn.microsoft.com/xml/ .NET 技術• http://www.ibm.com/xml/ JAVA 技術• http://www.sun.com/xml/ JAVA 技術

W3C Standard Phases

• Notes – Submitted by some organizations

• Working Draft– First version for discussion

• Candidate Recommendation– Agreed on the major technology

• Recommendation– Official Standard

課程複習 (Question Set)• 名詞解釋 (Terms) (full name, language functions and purp

oses) please check wikipedia and web pages– RDF, XSL, XML Schema, OWL, XForms,…

• 何謂 XML? 簡述 XML 的特性和優點。 (what is XML? Briefly describe the merits of XML)

• 請簡述 XML 發展歷史。 (Describe the development history of XML)

• 請比較 XML 、 HTML 、 SGML 三種語言、並說明三種語言之間的關係 (Please compare the three Languages XML, HTML, and SQML)

• 請說明下一代 World Wide Web 的特性 (Describe the Characteristics of Generation 2 Web Technology)