Interfacing XML and ErlangUlf Wiger, Senior Systems .ppt
《Interfacing XML and ErlangUlf Wiger, Senior Systems .ppt》由会员分享,可在线阅读,更多相关《Interfacing XML and ErlangUlf Wiger, Senior Systems .ppt(17页珍藏版)》请在麦多课文档分享上搜索。
1、XMerL,Interfacing XML and ErlangUlf Wiger, Senior Systems Architect Network Architecture and Product Strategies Data Backbone and Optical Networks Division Ericsson Telecom AB,Executive Summary,Erlang/OTP is moving into vertical applications XML is fast becoming an important standard Erlang and XML
2、fit very well together,Number of Requests to www.erlang.org,The Reason for XMerL,Interest in Erlang is growing No longer just for embedded systems New interfaces must evolve Powerful GUI components Data exchange (COM, ODBC, XML, ) XML is a logical addition to OTP (ASN.1, HTTP, IDL, CORBA, )Real reas
3、on: I bought a book and became curious,What is XML?,“A Stricter HTML” “A Simpler SGML” Relatively Easy to Parse Content OrientedXML springs mostly from SGML All non-essential SGML features have been removed Web address support taken from HTML, HyTime and TEI Some new functionality added Modularity E
4、xtensibility through powerful linking International (Unicode) support Data orientation,Where is XML used?,Large Web sites HTML is generated via special (XSL) stylesheets Internet Explorer has built-in support for XML Document management When machines must be able to read the documents Machine-to-mac
5、hine communication XML RPC, SOAP XML processors exist in many languages (even Erlang!),A Simple XML Document,Welcome to My Home PageSorry, this home page is still under construction. Please come back soon!,All elements must have a start tag and an end tag (exception: ) An element can have a list of
6、attributes,Erlang analogy: Tag, Attributes, Content,A Simple Erlang-XML Document,Welcome to My Home PageSorry, this home page is still under construction. Please come back soon!,XML,Almost equivalent,The Complete Picture,XML is more complex than that External DTDs Global namespace Language encoding
7、Structural information should be optimized for queries To parse XML properly, we use records To output to XML (or similar), we may use the simple form,XMerL Status,A fast XML processor produces an Erlang representation of the XML document Lets call this representation a “complete form” Erlang progra
8、ms can use an XML-like representation Lets call this a “simple form” An export tool can take either form and output almost anything Plans to support XML Stylesheets (XSL, more on that later) Basic support for XPATH (needed for XSL, Xlink, Xpointer, ),The XMerL Processor,Vsn 0.6 is a single-pass scan
9、ner/parser implementing XML 1.0 Has been tested on thousands of XML documents Appears to handle lots of different documents Appears to be fast and flexible There are two ways to process an XML document: Tree-based parsing; the whole document at once Event-based parsing; one element at a time The XMe
10、rL processor can do either The behaviour is specified through higher-order functions (“funs”) Validation can also be carried out in funs,The XMerL Processor (2),Proper handling of Global namespace Entity expansion External and internal DTDs Conditional processing UniCode Some support for infinite st
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- INTERFACINGXMLANDERLANGULFWIGER SENIORSYSTEMSPPT

链接地址:http://www.mydoc123.com/p-376499.html