Download presentation
Presentation is loading. Please wait.
Published byAriel Cain Modified over 9 years ago
1
SNU OOPSLA Lab. An Introduction to XML The ubiquitous XML(1) © copyright 2001 SNU OOPSLA Lab.
2
SNU OOPSLA Lab. The ubiquitous XML 2 Table of Contents What is XML? Motivation behind XML Main Features of XML History of XML Applications
3
SNU OOPSLA Lab. The ubiquitous XML 3 What is XML ? eXtensible Markup Language ( 확장형 마크업 언어 ) Meta-markup-language 다른 markup-language 를 정의 각 분야의 의미론적인 tag 를 정의하는 규약의 집합. Generalized markup approach XML mark-up 은 문서의 display format ( 서식 ) 정보가 아닌, 문서의 구조와 의미 를 저장
4
This substance if hazardous to health 7 for information on protective clothing required. XML markup SNU OOPSLA Lab. 123 J. Smith M. Jones The ubiquitous XML XML 문서의 보기
5
SNU OOPSLA Lab. The ubiquitous XML California love by Tupac publisher : R record length : 4:30 date : 1999/10/10 California love Tupac R record 4:30 1999/10/10 HTML XML HTML: 화면 출 력 모양을 지정 하기 위한 태그 XML: 문서의 의미를 지정하 기 위한 태그
6
SNU OOPSLA Lab. The ubiquitous XML 6 Motivations behind XML (1/2) System, application 들 사이의 문서교환 증가 text 이외의 정보 - image, video, sound 등 기타 media - 가 같이 존재하는 복합문서가 일반화 문서의 독립성 ( 문서가 system, 언어, 주변기기, 네트워크 등에 종속적이지 않을 것 ) 에 대한 요구 증가 문서의 효율적인 저장과 검색이 중요한 issue 로 대두 문서의 구조화 촉구
7
SNU OOPSLA Lab. The ubiquitous XML 비구조화 문서 vs 구조화 문서 Vender A (DB) Vender B (presentation) Vender C ( 종이유인물 ) Vender D Vender A (DB) Vender B (presentation) Vender C ( 종이유인물 ) Vender D 비구조화 된 문서 구조화 된 문서 재작업 일단 하나의 문서파일이 있어도, 다른 application 으로 문서를 보려면, 각각 문서를 다시 만들어 주어야 한다. ( 재공학 ) display 일단 하나의 구조화된 문서파일이 있으면, 다른 application 으로 문서를 볼 때, 각기 다르게 display 된다.
8
SNU OOPSLA Lab. The ubiquitous XML 8 Various display of XML doc. XML Doc. WML-XSL WML HTML Book HTML-XSL Book-XSL
9
SNU OOPSLA Lab. The ubiquitous XML 9 Motivations behind XML (2/2) 구조화 된 문서의 이점 입력, 편집, 출판 등 각 작업의 시 - 공간적 분리 정리, 관리, 유통, 배포가 용이함 다양한 포맷으로 출판 가능 정보검색이 쉽고 정확해 진다. 파생문서의 자동 생성
10
SNU OOPSLA Lab. The ubiquitous XML 10 What is XML for ? Business to Business 기업간 비즈니스 어플리케이션의 통합 Electronic Data Interchange 시스템 간 데이터 교환 Advanced Information Management System 모든 유형의 데이터 통합 관리 Co-Work 지식관리시스템 Advanced Search System 구조 검색 상품 카탈로그 검색 * image source : IBM
11
SNU OOPSLA Lab. The ubiquitous XML 11 Main Features of XML (1/2) 특정분야에 적합한 markup 언어 설계 self-describing : 스스로 설명 가능한 data 여러 application 간 교환의 용이함 의미적으로 구조화되어 있다.
12
SNU OOPSLA Lab. The ubiquitous XML 12 DTD(Document Type Definition, 문서형식정의 ) define the elements allowed in a particular type of document - 특정문서에서 사용할 tag 정의 a parser uses it to check the validity of documents style sheet specify an output format for each element - 각 요소마다 출력되는 포맷의 정의 Main Features of XML (2/2)
13
SNU OOPSLA Lab. The ubiquitous XML 13 HTML, SGML, XML (1/2) HTML 고정된 TAG 집합 구조화 능력 부족 효과적인 저장, 검색 불가능 SGML 너무 복잡해서, SGML 시스템 개발이 어렵다. 산업계 지원 미비 이식성 결여 사용자의 DTD 작성이 어렵다.
14
SNU OOPSLA Lab. The ubiquitous XML 14 XML 간단성 : SGML 보다 간단하고 쓰기 쉽다. 확장성 : tag 에 제한이 없다. 독립성 : 플랫폼, application 에 독립적이다. Powerful : 구조화가 완벽하게 되어 있어 검색, 저장 용이 다중 하이퍼링크 가능 다양한 media resource 를 쉽게 다루는 방법 제공 문서의 재사용성 증가 HTML, SGML, XML (2/2)
15
XML 과 HTML 의 예시 Main Features of XML (3/3) Dr.Q aaaaaa HTML File Dr.Q aaaaaa XML DTD XML File DB/Application HTML Browser HTML DTD XML Browser SNU OOPSLA Lab. The ubiquitous XML
16
SNU OOPSLA Lab. The ubiquitous XML 16 Table of Contents What is XML? Motivation behind XML Main Features of XML History of XML Applications
17
SNU OOPSLA Lab. The ubiquitous XML 17 1960 년대, IBM 의 GML(Generalized Markup Language) 1980 년대, ISO 8879, SGML(Standard Generalized Markup Language) 1990 년대 초, HTML(HyperText Markup Language) 1996, W3C 에서 XML 공개 1998, XML 1.0 발표로 새로운 웹 혁명 예고 History of XML (1/5)
18
SNU OOPSLA Lab. The ubiquitous XML 18 XML 의 역사 (2/5) GM Internet WWW SGML HTML XML 1960 1986 1992 1997 GM = Generalized Markup
19
SNU OOPSLA Lab. The ubiquitous XML 19 History of XML (3/5) 표준명응용분야 XML 1.0 - 1998.2.10 RDF(Resource Description Framework) - 1999.2.22 DOM(Document Object Model) Level 1 - 1998.10.1 SMIL(Synchronized MM Integration Lang.) 1.0 - 1998.10 MathML 1.0 - 1998 Proposed Recommendation; Associating Stylesheets with XML Documents - 1999. 1. 14 메타 데이터 XML 및 HTML 용 표준 객체집합 제공 XML 기반 멀티미디 어 저작 언어 수식표현 XML,XSL 연결방식
20
SNU OOPSLA Lab. The ubiquitous XML 20 History of XML (4/5) 표준명응용분야 DOM(Document Object Model) Level 2 XHTML 1.0: The Extensible HyperText Markup Language: A Reformulation of HTML 4.0 in XML 1.0 Extensible Stylesheet Language (XSL), Version 1.0 XML Linking Language (XLink) XML Pointer Language (XPointer) Scalable Vector Graphics (SVG) 그래픽
21
SNU OOPSLA Lab. The ubiquitous XML 21 History of XML (5/5) 명 칭명 칭 응용분야 Chemical Markup Language (CML) Commerce XML (cXML) Common Business Library (CBL) Conceptual Knowledge Markup Language (CKML) Human Resources Markup Language (HRML) Java Speech Markup Language (JSML) Music Markup Language (MusicML) Open Financial Exchange (OFX) Open Trading Protocol (OTP) Tutorial Markup Language (TML) Voice Markup Language (VoxML) XML for Electronic Data Interchange (XML/EDI) ibtwsh, HL/7 Version3.0 Defines the format and method of content exchange WIDL web-enables non- browser applications
22
SNU OOPSLA Lab. The ubiquitous XML 22 Applications Data exchange applications XML 은 두 시스템 또는 application 간의 exchange format 역할을 할 수 있다. EDI, RDF, MCF... Document publishing applications semi-structured data 의 markup 각 분야와 결합한 XML 특정 분야를 markup 하기 위한 DTD 정의 MathML, CML, SMIL, MusicML,...
23
SNU OOPSLA Lab. The ubiquitous XML 23 Data exchange application RDB system 사이의 data exchange format XML tag 가 transfer 동안 data 를 감싸는 wrapper 역할을 한다. 332 567 332 912 account R&D Peter Jim Sue RDB DB 332 account peter,Jim 567 R&D account Peter Jim
24
SNU OOPSLA Lab. The ubiquitous XML XML DTD DBMS Parser SAXEvents XSL Processor ASP, Java, VB HTML Browser DOM(Document Object Model) SAX(Simple APIs for XML) XSL(eXtensible Stylesheet Language) ASP(Active Server Page) Tree DOM DOM API Data exchange applications
25
ASCII / ISO 10646 / UnicodeTCP/IP HTTPXMLCSSSPDL XLLXSL Complex document layout Simple document layout Web publishing Interactive publishing Page layout SNU OOPSLA Lab. 10 The ubiquitous XML Document publishing applications
26
SNU OOPSLA Lab. The ubiquitous XML 26 XML Applications-NewsML
27
SNU OOPSLA Lab. The ubiquitous XML 27 XML SW Tools Parsers: IBM's XML for Java James Clark's XP Tim Bray's Lark Microsoft's MSXML Parsers: IBM's XML for Java James Clark's XP Tim Bray's Lark Microsoft's MSXML Editors: AborText's Adept Editor Visual XML T2000’s Clip DataChannel RIO Velvet Logic’s XML Pro*
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.