xml:managing data exchange

20
XML:Managing data exchange

Upload: meris

Post on 06-Jan-2016

34 views

Category:

Documents


0 download

DESCRIPTION

XML:Managing data exchange. Central problems of data management. Capture Storage Retrieval Exchange. EDI. Electronic exchange of standard documents In use for some 20 years Standards ANSI X.12 (US and Canada) EDIFACT (International). EDI: Advantages. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: XML:Managing data exchange

XML:Managing data exchange

Page 2: XML:Managing data exchange

2

Central problems of data management

Capture

Storage

Retrieval

Exchange

Page 3: XML:Managing data exchange

3

EDI

Electronic exchange of standard documents

In use for some 20 years

StandardsANSI X.12 (US and Canada)

EDIFACT (International)

Page 4: XML:Managing data exchange

4

EDI: Advantages

Paper handling is reduced, saving time and money

Data can be exchanged in real time

There are fewer errors since data are keyed only once

Enhanced data sharing enables greater coordination of activities between business partners

Money flows are accelerated and payments received sooner

Page 5: XML:Managing data exchange

5

EDI: Adoption

Much information flow is still on paper

Electronic exchange is the exception rather than the rule

The Internet is a lower cost solution than EDI using value added networks (VANs)

Page 6: XML:Managing data exchange

6

SGML

Document management consumes15% of company revenue

25% of labor costs

10 - 60% of an office worker’s time

Standard generalized markup language (SGML) was designed to reduce the cost of document management

Page 7: XML:Managing data exchange

7

Markup language

Embedded information within text about the meaning of the text

<cdliner>This uniquely creative collaboration between Miles Davis and Gil Evans has already resulted in two extraordinary albums—<cdtitle>Miles Ahead</cdtitle><cdid>CL 1041></cdid> and <cdtitle>Porgy and Bess</cdtitle> <cdid>CL 1274</cdid>.</cdliner>

Page 8: XML:Managing data exchange

8

SGML

A vendor independent standard for publication of all media

Cross system

Portable

Defines the structure of a document

The parent of HTML and XML

Page 9: XML:Managing data exchange

9

SGML: Advantages

Re-useSame advantage as with word processing

FlexibilityGenerate output for multiple media

RevisionVersion control

Page 10: XML:Managing data exchange

10

SGML code

<chapter><no>16</no><title>XML: Managing Data Exchange</title><section><quote><emph type = "2">Words can have no single

fixed meaning. Like wayward electrons, they can spin away from their initial orbit and enter a wider magnetic field. No one owns them or has a proprietary right to dictate how they will be used.</emph></quote>

…</section>…</chapter>

Page 11: XML:Managing data exchange

11

HTML code

<html><body><h1><b>16</b></h1><h1><b>XML: Managing Data Exchange</b></h1><p><i>Words can have no single fixed meaning. Like

wayward electrons, they can spin away from their initial orbit and enter a wider magnetic field. No one owns them or has a proprietary right to dictate how they will be used.</i>

</p></body></html>

Page 12: XML:Managing data exchange

12

The problem with HTML

Presentation not meaning

Reader has to infer meaning

Machines are not very good at inferring meaning

Page 13: XML:Managing data exchange

13

XML

Extensible markup language

SGML for e- and m-commerce

A meta-languageA language to generate languages

Will steadily replace HTML

Page 14: XML:Managing data exchange

14

XML vs. HTML

Structured text

User-definable structure

Context-sensitive retrieval

Greater hypertext linkage

Formatted text

Pre-defined format

Limited retrieval

Limited hypertext linking

Page 15: XML:Managing data exchange

15

XML rules

Elements must have both an opening and closing tagElements must follow a strict hierarchy with only one root elementElements may not overlap other elementsElement names must obey XML naming conventionsXML is case sensitive

Page 16: XML:Managing data exchange

16

HTML vs. XML

HTML XML

<p><b>MIST7600</b> Data Management<br>3 credit hours</p>

<course><code>MIST7600</code><title>Data Management</title><credit>3</credit></course>

Page 17: XML:Managing data exchange

17

Processing shift

From server to browserBrowser can ‘read’ meaning of the data

Less data transmitted

•HTML •XML

•Retrieve shirt data with prices in $US•Retrieve shirt data with prices in euros

•Retrieve shirt data with prices in $US•Retrieve conversion rate of $US to euro•Retrieve Java program to convert currencies•Compute prices in euros

Page 18: XML:Managing data exchange

18

Searching

Search engines look for appropriate tags in the XML code

Faster

More precise

Page 19: XML:Managing data exchange

19

Expected gains

Store once and format many times

Hardware and software independence

Capture once and exchange many times

Accelerated targeted searching

Less network congestion

Page 20: XML:Managing data exchange

20

Conclusion

XML is a significant technological development

Its main purpose is to support data exchange

It will lower the cost of business transactions

It will be a critical data management technology