XML Standard Document for Information Exchange - PowerPoint PPT Presentation

1 / 104
About This Presentation
Title:

XML Standard Document for Information Exchange

Description:

1.1.9 ?????? ??????????????? ???? /person ???????????? 1.1.5 ??? 2-3 ??? ... title Harry Potter and the Philosopher's Stone /title author J.K. Rowling /author ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 105
Provided by: hp26184
Category:

less

Transcript and Presenter's Notes

Title: XML Standard Document for Information Exchange


1
XML Standard Document for Information Exchange
  • Library Information Exchange
  • Somkiat Chatchuenyot
  • Computer Center, Silpakorn University

2
Outline
  • Introduction
  • XML Technology and Applications
  • Open Source XML Standard
  • Document Exchange and Integration Tools
  • E-Doc
  • Office 2007, OO
  • Online Doc

3
Outline
  • Catalog Library System
  • MARCXML
  • The Library Document Standard

4
Introduction to XML
5
Introduction to XML
  • http//www.w3.org/
  • http//www.w3schools.com/
  • SGML, HTML, XML, XHTML
  • CSS, XSL
  • DTD, XML Schema
  • Web Service, SOAP

6
Introduction to XML
  • XML ??? ????????
  • DTD, XSD
  • XSLT
  • XPath
  • XQuery ...
  • Application
  • MathML
  • Chemical Markup Language (CML)?
  • SVG

7
Introduction to XML Document
  • Standard?
  • Encoding Thai??
  • Process
  • Tools
  • Validator
  • DTD standard
  • XSD standard

8
Introduction to XML Document
  • Process
  • Document Analysis and Design
  • DTD or XSD Design
  • Create XML using DTD or XSD
  • Validate using Browser IE, Mozilla-Firefox,
    Safari
  • Display Document using CSS and XSL
  • Exchange Document or Information using XSLT

9
Introduction to XML Document
  • Process
  • Input gt XSL gt Output
  • XML gt XSL gt TXT, HTML, XHTML, PDF, XML

10
Introduction to XML Tools
  • Tools
  • XMetal
  • Editx
  • Oxygen
  • Validator
  • DTD standard
  • XSD standard

11
Introduction to XML Tools
  • Experience
  • Xmetal 2.0
  • Encoding???
  • UTF??
  • Office 2007 - OOXML
  • OpenOffice Open Document Format (ODF)?
  • IBM Lotus Symphony
  • Google
  • Google Doc
  • Zoho
  • Hotmail Microsoft
  • Office Live ?? - OOXML

12
Introduction to XML Tools XMetal 2.0
13
Introduction to XML Tools XMetal 2.0
14
Introduction to XML Tools XMetal 2.0
15
Introduction to XML Tools XMetal 2.0
16
Introduction to XML Tools XMetal 2.0
17
Introduction to XML Tools XMetal 2.0
18
Introduction to XML Tools XMetal 2.0
19
Introduction to XML Tools XMetal 2.0
20
Introduction to XML Tools XMetal 2.0
21
Introduction to XML Tools XMetal 2.0
22
Introduction to XML Tools XMetal 2.0
23
Introduction to XML Tools XMetal 2.0
24
Introduction to XML Tools XMetal 2.0
25
Introduction to XML Tools XMetal 2.0
26
XML
XML
  • ??? XML ?????????? (Data)?
  • For example, take the following XML fragment
  • ltpersongt
  • ltfirstNamegtBrettlt/firstNamegt
  • ltlastNamegtMcLaughlinlt/lastNamegt
  • ltemailgtbrett_at_newInstance.comlt/emailgt
  • lt/persongt

27
XML
XML
  • ?????? XML ? ?????????????? XML (XML data) ?
    ????????XML (XML document)?
  • ???????????????? XML (XML document to be
    exchanged)?

28
XML
XML
29
XML
XML
30
XML
SVG-Adobe
  • Open Source Software for SVG

31
XML
SVG on Mobile
32
XML
XML-SVG Scalable Vector Graphics (SVG)?
33
XML
???????????????? XML (XML tools)?
  • Microsoft office Excel, Word, Access
  • OpenOffice Writer, Spreadsheets, Base.
  • Other tools
  • Notepad, EditPlus, Textpad
  • Oxygen
  • editiX
  • Web Browser
  • IE 6 or 7
  • Mozilla Firefox, Flock
  • Safari

34
Introduction to XML SVG
  • Scalable Vector Graphics (SVG)?
  • Mozilla SVG Project
  • Adobe SVG

35
Introduction to XML SVG
36
Introduction to XML SVG
37
Introduction to XML SVG
38
Introduction to XML MathML
39
Introduction to XML CML
40
Introduction to XML CML
41
Introduction to XML CML
42
Introduction to XML CML
43
Introduction to XML CML
44
Library Document
  • Book
  • Journal
  • Article
  • Magazine
  • Dissertation

45
Library Document
  • MARC
  • Dblin Core
  • Metadata Object Description Schema (MODS) is a
    schema for a bibliographic element set that may
    be used for a variety of purposes, and
    particularly for library applications.

46
Library Document
  • MARCXML

47
Library Document
  • MARC
  • MARCXML Schema
  • MARC XML DTD

48
Library Document
  • Create XML document from
  • MARC XML DTD
  • MARCXML Schema

49
Library Document
  • Create XML document from
  • MARC XML DTD

50
Library Document
  • Create XML document from - MARC XML DTD

51
Library Document
  • Create XML document from - MARC XML DTD

52
Library Document
  • Create XML document from - MARC XML DTD

53
Library Document
  • Create XML document from - MARC XML DTD

54
Library Document
  • Create XML document from - MARC XML DTD

55
Library Document
  • Create XML document from - MARC XML XSD

56
Library Document
  • Create XML document from - MARC XML XSD

57
Library Document
  • Create XML document from - MARC XML XSD

58
Library Document
  • Create XML document from - MARC XML XSD

59
Library Document
  • Create XML document from - MARC XML XSD

60
Library Document
  • Create XML document from - MARC XML XSD

61
Library Document
  • Create XML document from - MARC XML XSD

62
Library Document
  • Create XML document from - MARC XML XSD

63
Library Document
  • Create XML document from - MARC XML XSD

64
Library Document
  • Create XML document from - MARC XML XSD

65
Library Document
  • Create XML document from - MARC XML XSD

66
Library Document
  • Create XML document from - MARC XML XSD

67
Library Document
  • Create XML document from - MARC XML XSD

68
Library Document
  • Create XML document from - MARC XML XSD

69
Library Document
  • Create XML document from - MARC XML XSD

70
Library Document - XML
71
Library Document - XMLXSD XML Schema
Definition
72
Library Document - XMLXSL XML Stylesheet
Language
73
Library Document - XML
Exercise I
  • 1.1
  • 1.1.1 File -gt new -gt Standard XML document
  • 1.1.2 DTD/Schema -gt Assign W3C XML Schema to
    document - gt select personal.xsd
  • 1.1.3 ??? root node ???? personnel
  • 1.1.4 ?????????? XML document
  • 1.1.5 ?? ???? shift ??????? ?????????? lt ?????
    person
  • 1.1.6 ?? ???? shift ??????? ?????????? lt ?????
    name
  • 1.1.7 ?????? shift ??????? ?????????? lt ?????
    family ?????? ??????????? ??????????????
  • 1.1.8 ?????? shift ??????? ?????????? lt ?????
    given ?????? ???????? ??????????????
  • 1.1.9 ?????? ??????????????? ???? lt/persongt
    ???????????? 1.1.5 ??? 2-3 ???
  • 1.2 Design XML documents
  • XML Registration doc
  • XML Library doc.
  • XSD (start here) ???? ?? XML ???? ???? Generate
    ???? XSD
  • ?????? XSD ????
  • 1.3 XSL reg.xsl, lib.xsl
  • ?????? XSL ???????????????????? ????
    ?????????????????????

74
Library Document - XML
1.1.1
75
Library Document - XML
1.1.2
76
Library Document - XML
1.1.3
77
Library Document - XML
1.1.4 1.1.5
78
Library Document - XML
1.1.6 1.1.9
79
Library Document - XML
WELL FORMED / Valid Document
80
Library Document - XML
WELL FORMED / Valid Document
  • Id ???? ????????
  • Salary ???? ??????

81
Library Document - XML
82
Library Document - XML
Use XSL transform using XSLT
83
Library Document - XML
person.xsl transform person.xml to
personnel-xsl.html
84
Library Document - XML
??????????? XSLTResult of using XSLT
85
Library Document - XML
????? ????????????? XSL
86
Library Document - XML
??????????? XSLT (Result of using XSLT)?
87
Library Document - XML
1.2 ???????? XML Process of Producing XML
  • Generate XSD or DTD
  • ????? XML ?????? XSD ???? DTD
  • ????? CSS ???? XSL ???????????????????? XML
  • ?????? XML ?????????????
  • HTML
  • XML
  • PDF

88
Library Document - XML
library.xml regist.xml
lt?xml version"1.0"?gt   ltregistrationgt   
ltregister id02/2550"gt      ltstudent
code07490123gt      ltnamegt????
????????lt/namegt ltacademic_yeargt2549
lt/academic_yeargt       
ltcreditgt19lt/creditgt      lt/studentgt     
ltstudent code07490548gt       ltnamegt?????
??????lt/namegt ltacademic_yeargt2549lt/ac
ademic_yeargt        ltcreditgt19lt/creditgt
     lt/studentgt     lt/registergt
  lt/registration gt
lt?xml version"1.0"?gt   ltlibrarygt   ltshelf
id"fiction"gt     ltbookgt      lttitlegtOf Mice
and Menlt/titlegt      ltauthorgtJohn
Steinbecklt/authorgt     lt/bookgt     ltbookgt
     lttitlegtHarry Potter and the Philosopher's
Stonelt/titlegt      ltauthorgtJ.K. Rowlinglt/authorgt
    lt/bookgt    lt/shelfgt   lt/librarygt
89
Library Document - XML
1.2 ??????????????? XML(XSD) ??? XML
90
Library Document - XML
91
Library Document - XML
1.3 XSL create and use library.xsl
92
Library Document - XML
Use XSL transform using XSLT
93
Library Document - XML
Use library.xsl transform library.xml to
library.html
94
Library Document - XML
??????????? XSLT Result of using XSLT
95
Library Document - XML
????? XSD ????? XML
  • ????????????????????? library.xml
  • ltborrowergt
  • ????? XSD ??? library.xml
  • Generate a W3C XML Schema from this document
  • ???????????? ??? Check for a Well formed/ Valid
    Document
  • ??????????????? ltborrowergt ?? library.xsl
  • ?????? ??? XSLT ? Transforming using XSLT

96
Library Document - XML
XFlows
97
Library Document - XML
?????????????? ????????? ?????????? XML
98
Library Document - XML
?????????????? ????????? ?????????? XML
99
Library Document - XML
???? XML ???? HTML ?????? XSL
100
Library Document - XML
???? XML ???? XML ?????? XSL
  • ????? editiX ??????????????? export.xsl ?????
  • ????? XFlows ???????? XML ??????????????
  • ???????? run
  • ?????? ?????? Firefox or IE

101
Library Document - XML
Oxygen
  • http//www.oxygenxml.com/
  • Registration email
  • Installation Oxygen.exe

102
Library Document - XML
Oxygen
103
Library Document - XML
Oxygen
104
  • Thanks
  • Questions
Write a Comment
User Comments (0)
About PowerShow.com