Title: XML Standard Document for Information Exchange
1XML Standard Document for Information Exchange
- Library Information Exchange
- Somkiat Chatchuenyot
- Computer Center, Silpakorn University
2Outline
- Introduction
- XML Technology and Applications
- Open Source XML Standard
- Document Exchange and Integration Tools
- E-Doc
- Office 2007, OO
- Online Doc
3Outline
- Catalog Library System
- MARCXML
- The Library Document Standard
4Introduction to XML
5Introduction to XML
- http//www.w3.org/
- http//www.w3schools.com/
- SGML, HTML, XML, XHTML
- CSS, XSL
- DTD, XML Schema
- Web Service, SOAP
6Introduction to XML
- XML ??? ????????
- DTD, XSD
- XSLT
- XPath
- XQuery ...
- Application
- MathML
- Chemical Markup Language (CML)?
- SVG
7Introduction to XML Document
- Standard?
- Encoding Thai??
- Process
- Tools
- Validator
- DTD standard
- XSD standard
8Introduction 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
9Introduction to XML Document
- Process
- Input gt XSL gt Output
- XML gt XSL gt TXT, HTML, XHTML, PDF, XML
10Introduction to XML Tools
- Tools
- XMetal
- Editx
- Oxygen
- Validator
- DTD standard
- XSD standard
11Introduction 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
12Introduction to XML Tools XMetal 2.0
13Introduction to XML Tools XMetal 2.0
14Introduction to XML Tools XMetal 2.0
15Introduction to XML Tools XMetal 2.0
16Introduction to XML Tools XMetal 2.0
17Introduction to XML Tools XMetal 2.0
18Introduction to XML Tools XMetal 2.0
19Introduction to XML Tools XMetal 2.0
20Introduction to XML Tools XMetal 2.0
21Introduction to XML Tools XMetal 2.0
22Introduction to XML Tools XMetal 2.0
23Introduction to XML Tools XMetal 2.0
24Introduction to XML Tools XMetal 2.0
25Introduction 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
27XML
XML
- ?????? XML ? ?????????????? XML (XML data) ?
????????XML (XML document)? - ???????????????? XML (XML document to be
exchanged)?
28 XML
XML
29XML
XML
30XML
SVG-Adobe
- Open Source Software for SVG
31XML
SVG on Mobile
32XML
XML-SVG Scalable Vector Graphics (SVG)?
33XML
???????????????? 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
34Introduction to XML SVG
- Scalable Vector Graphics (SVG)?
- Mozilla SVG Project
- Adobe SVG
35Introduction to XML SVG
36Introduction to XML SVG
37Introduction to XML SVG
38Introduction to XML MathML
39Introduction to XML CML
40Introduction to XML CML
41Introduction to XML CML
42Introduction to XML CML
43Introduction to XML CML
44Library Document
- Book
- Journal
- Article
- Magazine
- Dissertation
45Library 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.
46Library Document
47Library Document
- MARC
- MARCXML Schema
- MARC XML DTD
48Library Document
- Create XML document from
- MARC XML DTD
- MARCXML Schema
49Library Document
- Create XML document from
- MARC XML DTD
50Library Document
- Create XML document from - MARC XML DTD
51Library Document
- Create XML document from - MARC XML DTD
52Library Document
- Create XML document from - MARC XML DTD
53Library Document
- Create XML document from - MARC XML DTD
54Library Document
- Create XML document from - MARC XML DTD
55Library Document
- Create XML document from - MARC XML XSD
56Library Document
- Create XML document from - MARC XML XSD
57Library Document
- Create XML document from - MARC XML XSD
58Library Document
- Create XML document from - MARC XML XSD
59Library Document
- Create XML document from - MARC XML XSD
60Library Document
- Create XML document from - MARC XML XSD
61Library Document
- Create XML document from - MARC XML XSD
62Library Document
- Create XML document from - MARC XML XSD
63Library Document
- Create XML document from - MARC XML XSD
64Library Document
- Create XML document from - MARC XML XSD
65Library Document
- Create XML document from - MARC XML XSD
66Library Document
- Create XML document from - MARC XML XSD
67Library Document
- Create XML document from - MARC XML XSD
68Library Document
- Create XML document from - MARC XML XSD
69Library Document
- Create XML document from - MARC XML XSD
70Library Document - XML
71Library Document - XMLXSD XML Schema
Definition
72Library Document - XMLXSL XML Stylesheet
Language
73Library 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 ???????????????????? ????
?????????????????????
74Library Document - XML
1.1.1
75Library Document - XML
1.1.2
76Library Document - XML
1.1.3
77Library Document - XML
1.1.4 1.1.5
78Library Document - XML
1.1.6 1.1.9
79Library Document - XML
WELL FORMED / Valid Document
80Library Document - XML
WELL FORMED / Valid Document
- Id ???? ????????
- Salary ???? ??????
81Library Document - XML
82Library Document - XML
Use XSL transform using XSLT
83Library Document - XML
person.xsl transform person.xml to
personnel-xsl.html
84Library Document - XML
??????????? XSLTResult of using XSLT
85Library Document - XML
????? ????????????? XSL
86Library Document - XML
??????????? XSLT (Result of using XSLT)?
87Library Document - XML
1.2 ???????? XML Process of Producing XML
- Generate XSD or DTD
- ????? XML ?????? XSD ???? DTD
- ????? CSS ???? XSL ???????????????????? XML
- ?????? XML ?????????????
- HTML
- XML
- PDF
88Library 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
89Library Document - XML
1.2 ??????????????? XML(XSD) ??? XML
90Library Document - XML
91Library Document - XML
1.3 XSL create and use library.xsl
92Library Document - XML
Use XSL transform using XSLT
93Library Document - XML
Use library.xsl transform library.xml to
library.html
94Library Document - XML
??????????? XSLT Result of using XSLT
95Library 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
96Library Document - XML
XFlows
97Library Document - XML
?????????????? ????????? ?????????? XML
98Library Document - XML
?????????????? ????????? ?????????? XML
99Library Document - XML
???? XML ???? HTML ?????? XSL
100Library Document - XML
???? XML ???? XML ?????? XSL
- ????? editiX ??????????????? export.xsl ?????
- ????? XFlows ???????? XML ??????????????
- ???????? run
- ?????? ?????? Firefox or IE
101Library Document - XML
Oxygen
- http//www.oxygenxml.com/
- Registration email
- Installation Oxygen.exe
102Library Document - XML
Oxygen
103Library Document - XML
Oxygen
104