MC 交换数据格式 SGML/XML/HTML ◆标准通用标记语言(Standard Generalized Markup Language,SGML)是1986年出版发布的一个信息管理 方面的国际标准。该标准定义独立于平台和应用的文 本文档的格式、索引和链接信息,为用户提供一种类 似于语法的机制,用来定义文档的结构和指示文档结 构的标签(tag)。制定SGML的基本思想是把文档的内 容与样式分开。 ◆XML(Extensible Markup Language)是SGML的一个 子集 ◆HTML是SGML的一种文档类型 ynh.cxh@ustc.edu.cn
{ynh,cxh}@ustc.edu.cn 交换数据格式 SGML/XML/HTML 标准通用标记语言(Standard Generalized Markup Language,SGML)是1986年出版发布的一个信息管理 方面的国际标准。该标准定义独立于平台和应用的文 本文档的格式、索引和链接信息,为用户提供一种类 似于语法的机制,用来定义文档的结构和指示文档结 构的标签(tag)。 制定SGML的基本思想是把文档的内 容与样式分开。 XML (Extensible Markup Language)是SGML的一个 子集 HTML是SGML的一种文档类型
Tim Berners-Lee Wins Turing Award Berners-Lee is credited with inventing the World Wide Web,along with the first web browser and other technologies have have allowed the web to scale. By Angela Moscaritolo April 4,2017 12:46PM EST A screenshot of Berners-Lee's The WWW Virtual Library Web browser software running ,图 on his NeXT computer.Note the o add p CERN “edit”menu to allow changes, Experiments and the Styles menu which put 业SupportE金恤 decisions over fonts and other European Laboratory for Part ALEPH LEP experment Geneva,Swtzeda ALKE ALgMC4 display details in the hands of LHC the reader rather than Webpage Aneeepotogx H05 Aicsaelogy About the Laboratory: creators.Since 2014 this pact Muon 合ine图 oCEHNI computer has been exhibited at the Science Museum in London 为里
22 {ynh,cxh}@ustc.edu.cn A screenshot of Berners -Lee’s Web browser software running on his NeXT computer. Note the “edit” menu to allow changes, and the Styles menu which put decisions over fonts and other display details in the hands of the reader rather than Webpage creators. Since 2014 this computer has been exhibited at the Science Museum in London
MC Tim Berners-Lee Tim Berners-Lee was born in London,England,on 8 June 1955,the son of Conway Berners-Lee and Mary Lee Woods. OThe inventor of the World Wide Web BOGONE This is for everyone R TIM BERNERS-LEE Sir Tim Berners-Lee invented the World Wide Web in 1989. REWIREDSTATE OR OY THE WORLD WIDE WEB In 1994.Berners-Lee founded the World Wide Web Consortium (W3C)at MIT. In 1999,Time Magazine named Berners-Lee one of the 100 Most Important People of the 20th Century. 1989年瑞士粒子物理研究所Tim Berners--Lee提出一项计划,.., HTML
{ynh,cxh}@ustc.edu.cn Tim Berners-Lee Tim Berners-Lee was born in London, England, on 8 June 1955, the son of Conway Berners-Lee and Mary Lee Woods. The inventor of the World Wide Web In 1994, Berners-Lee founded the World Wide Web Consortium (W3C) at MIT. In 1999, Time Magazine named Berners-Lee one of the 100 Most Important People of the 20th Century. 1989年瑞士粒子物理研究所Tim Berners-Lee提出一项计划,.....,HTML This is for everyone
MC 交换数据格式 SGML文档的三个层次 ◆结构:用一个单独的文件来描述文档的结构(文档类 型定义Document Type Definition,DTD文件). ◆内容:这里指的内容就是信息本身。内容包括信息 名称(标题)、段落、项目列表和表格中的具体内容, 具体的图形和声音等。 ◆样式:用专门的标准来描述显示格式方面的信息, 即文档样式语义学和规范语言(Document Style Semantics and Specification Language,DSSSL). 24 ynh.cxh@ustc.edu.cn
{ynh,cxh}@ustc.edu.cn 交换数据格式 SGML文档的三个层次 结构:用一个单独的文件来描述文档的结构(文档类 型定义Document Type Definition,DTD文件)。 内容:这里指的内容就是信息本身。内容包括信息 名称(标题)、段落、项目列表和表格中的具体内容, 具体的图形和声音等。 样式:用专门的标准来描述显示格式方面的信息, 即文档样式语义学和规范语言(Document Style Semantics and Specification Language,DSSSL)。 24
MC 交换数据格式 XML的基本语法 <?xml version ="1.0"encoding="GB2312"standalone ="no"?> <!DOCTYPE菜单SYSTEM "test..dtd"> <?xml-stylesheet type="text/xsl"href"test.xsl"?> <菜单目录> <徽菜系列> <名称>平地一声雷<名称> 此文件中记录 <厨师>王XX<厨师> <饭店>金满楼<饭店> 了所有的数据 <价格> <正常价格>38<正常价格> <优惠价格>28</优惠价格><!-只对VIP用户.-> <价格> <徽菜系列> <菜单日录> Test.xml
{ynh,cxh}@ustc.edu.cn 交换数据格式 XML的基本语法 <?xml version = "1.0" encoding="GB2312" standalone = "no"?> <!DOCTYPE 菜单 SYSTEM “test.dtd"> <?xml-stylesheet type="text/xsl" href=“test.xsl"?> <菜单目录> <徽菜系列> <名称>平地一声雷</名称> <厨师>王XX</厨师> <饭店>金满楼</饭店> <价格> <正常价格 >38</正常价格> <优惠价格 >28</优惠价格> <!--只对VIP用户--> </价格> </徽菜系列> </菜单目录> Test.xml 此文件中记录 了所有的数据