SlideShare ist ein Scribd-Unternehmen logo
1 von 18
HTML, XML andSemantic Web 관동의대 명지병원IT융합 연구소 정 지 훈
HTML
What is HTML? Publish online documents with headings, text, tables, lists, photos, etc. Retrieve online information via hypertext links, at the click of a button. Design forms for conducting transactions with remote services, for use in searching for information, making reservations, ordering products, etc. Include spread-sheets, video clips, sound clips, and other applications directly in their documents.
CSS Language for describing the presentation of Web pages Colors, Layout, and Fonts  Allows to adapt the presentation to different types of devices, such as large screens, small screens, or printers.  CSS is independent of HTML and can be used with any XML-based markup language.  The separation of HTML from CSS makes it easier to maintain sites, share style sheets across pages, and tailor pages to different environments.  This is referred to as the separation of structure (or: content) from presentation.
Example <title>My first HTML document</title> <h1>An important heading</h1> <h2>A slightly less important heading</h2> <p>This is the first paragraph.</p> <p>This is the second paragraph.</p>
Example: Image and Link <imgsrc="peter.jpg" width="200" height="150"> <imgsrc="peter.jpg" width="200" height="150" alt="My friend Peter"> This a link to <a href="peter.html">Peter's page</a> This is a link to <a href="http://www.w3.org/">W3C</a> <a href="/"><imgsrc="logo.gif" alt="home page"></a>
Head and Body <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  <html>  <head>   <title> replace with your document's title </title> </head>  <body>   replace with your document's content  </body> </html>
XML
What is XML? Extensible Lets you define your own tags, the order in which they occur, and how they should be processed or displayed.  Markup Language XML is a language that’s very similar to HTML. It’s much more flexible than HTML because it allows you to create your own custom tags.  It’s important to realize that XML is not just a language.  XML is a meta-language: a language that allows us to create or define other languages.  Example With XML we can create other languages, such as RSS, MathML (a mathematical markup language), and even tools like XSLT.
Address Example: External to HTML  External Presentation: 정지훈 서울 관악구 신림동 서울대학교 HTML tags are still presentation-oriented HTML Markup: <em>정지훈</em> <br> 서울 관악구 신림동 <br> <strong>서울대학교</strong>
Address Example: HTML to XML HTML Markup: While not conveying any formal semantics: <em>정지훈</em> <br> 서울 관악구 신림동 <br> <strong>서울대학교</strong> XML tags are chosen for content-structuring needs XML Markup: <address> <name>정지훈</name> <street>서울 관악구 신림동</street> <town>서울대학교</town> </address>
Address Example: XML to External  XML Markup: <address> <name>정지훈</name> <street>서울 관악구 신림동</street> <town>서울대학교</town> </address> XML stylesheets are, e.g., usable to generate different presentations External Presentations: 정지훈 서울 관악구 신림동 서울대학교 정지훈 서울 관악구 신림동 서울대학교 . . .
Document Type Tree: address name street town PCDATA PCDATA PCDATA Address Example:Document Type Definition Document Type Definition (DTD): Extended Backus-Naur Form (EBNF): <!ELEMENT address	(name, street, town) > <!ELEMENT name	(#PCDATA) > <!ELEMENT street	(#PCDATA) > <!ELEMENT town	(#PCDATA) > address ::=	namestreettown name ::=		PCDATA street ::=		PCDATA town ::=		PCDATA
A Complete XML Document Referring to an External DTD XML Instance Document Referring to DTD (via root element): <?xml version="1.0" standalone="no"?> <!DOCTYPE address SYSTEM "address.dtd"> <address>    <name>정지훈</name>    <street>서울 관악구 신림동</street>     <town>서울대학교</town> </address> The XML declaration uses standalone attribute with "no" value: DTD import The DOCument TYPE declaration names the root element address and, after the SYSTEM keyword, refers to an external DTD at "address.dtd"
XML Schema Definition Equivalent XML Schema Definition (XSD): <?xml version="1.0"?> <xsd:schemaxmlns:xsd="http://www.w3.org/2001/XMLSchema">   <xsd:element name="address">     <xsd:complexType>       <xsd:sequence>         <xsd:element name="name" type="xsd:string"/>         <xsd:element name="street" type="xsd:string"/>          <xsd:element name="town" type="xsd:string"/>       </xsd:sequence>      </xsd:complexType>   </xsd:element> </xsd:schema>
Semantic Web
Activity Stream
ATOM + ActivityStreams

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Week1 xml
Week1 xmlWeek1 xml
Week1 xml
 
static dynamic html tags
static dynamic html tagsstatic dynamic html tags
static dynamic html tags
 
ITE212L Midterm Coverage
ITE212L Midterm CoverageITE212L Midterm Coverage
ITE212L Midterm Coverage
 
Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml
XmlXml
Xml
 
Sgml
SgmlSgml
Sgml
 
XML
XMLXML
XML
 
Prabu html
Prabu htmlPrabu html
Prabu html
 
Basic html
Basic htmlBasic html
Basic html
 
O9xml
O9xmlO9xml
O9xml
 
XML
XMLXML
XML
 
Hypertext markup language (html)
Hypertext markup language (html)Hypertext markup language (html)
Hypertext markup language (html)
 
Web topic 2 html
Web topic 2  htmlWeb topic 2  html
Web topic 2 html
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Html tag
Html tagHtml tag
Html tag
 
HTML HR
HTML HRHTML HR
HTML HR
 
Intro To HTML
Intro To HTMLIntro To HTML
Intro To HTML
 
Untitled presentation (8) (1)
Untitled presentation (8) (1)Untitled presentation (8) (1)
Untitled presentation (8) (1)
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 

Ähnlich wie Html, Xml, 그리고 시맨틱웹

Ähnlich wie Html, Xml, 그리고 시맨틱웹 (20)

Xml
XmlXml
Xml
 
Differences between HTML and XML.pdf
Differences between HTML and XML.pdfDifferences between HTML and XML.pdf
Differences between HTML and XML.pdf
 
XML/XSLT
XML/XSLTXML/XSLT
XML/XSLT
 
XML
XMLXML
XML
 
Web Services Part 1
Web Services Part 1Web Services Part 1
Web Services Part 1
 
Html
HtmlHtml
Html
 
Xml
XmlXml
Xml
 
Html book2
Html book2Html book2
Html book2
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
Xml description
Xml descriptionXml description
Xml description
 
Intro XML for archivists (2011)
Intro XML for archivists (2011)Intro XML for archivists (2011)
Intro XML for archivists (2011)
 
What is xml
What is xmlWhat is xml
What is xml
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
 
Xml material
Xml materialXml material
Xml material
 
Xml material
Xml materialXml material
Xml material
 
Xml material
Xml materialXml material
Xml material
 
Ncp computer appls web tech asish
Ncp computer appls  web tech asishNcp computer appls  web tech asish
Ncp computer appls web tech asish
 
Pmm05 16
Pmm05 16Pmm05 16
Pmm05 16
 
Html For Beginners 2
Html For Beginners 2Html For Beginners 2
Html For Beginners 2
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 

Mehr von Jihoon Jeong

인터넷의 미래. 넓고도 깊게 ...
인터넷의 미래. 넓고도 깊게 ...인터넷의 미래. 넓고도 깊게 ...
인터넷의 미래. 넓고도 깊게 ...Jihoon Jeong
 
오픈리더십, 진정성있는 리더십
오픈리더십, 진정성있는 리더십오픈리더십, 진정성있는 리더십
오픈리더십, 진정성있는 리더십Jihoon Jeong
 
클라우드와 미래혁명
클라우드와 미래혁명클라우드와 미래혁명
클라우드와 미래혁명Jihoon Jeong
 
Personal Health Cloud
Personal Health CloudPersonal Health Cloud
Personal Health CloudJihoon Jeong
 
IT와 인터넷의 역사
IT와 인터넷의 역사IT와 인터넷의 역사
IT와 인터넷의 역사Jihoon Jeong
 
Animation based Medical Information - Contents as a Service
Animation based Medical Information - Contents as a ServiceAnimation based Medical Information - Contents as a Service
Animation based Medical Information - Contents as a ServiceJihoon Jeong
 
서비스 모델링 예시
서비스 모델링 예시서비스 모델링 예시
서비스 모델링 예시Jihoon Jeong
 
융합의학 서비스디자인 / 비즈니스 모델링
융합의학 서비스디자인 / 비즈니스 모델링융합의학 서비스디자인 / 비즈니스 모델링
융합의학 서비스디자인 / 비즈니스 모델링Jihoon Jeong
 
융합의학 서비스디자인 강의
융합의학 서비스디자인 강의융합의학 서비스디자인 강의
융합의학 서비스디자인 강의Jihoon Jeong
 
융합의학강의 1강 - 융합의학개론
융합의학강의 1강 - 융합의학개론융합의학강의 1강 - 융합의학개론
융합의학강의 1강 - 융합의학개론Jihoon Jeong
 
Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환
Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환
Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환Jihoon Jeong
 
방송과 SNS의 미래
방송과 SNS의 미래방송과 SNS의 미래
방송과 SNS의 미래Jihoon Jeong
 

Mehr von Jihoon Jeong (13)

인터넷의 미래. 넓고도 깊게 ...
인터넷의 미래. 넓고도 깊게 ...인터넷의 미래. 넓고도 깊게 ...
인터넷의 미래. 넓고도 깊게 ...
 
오픈리더십, 진정성있는 리더십
오픈리더십, 진정성있는 리더십오픈리더십, 진정성있는 리더십
오픈리더십, 진정성있는 리더십
 
클라우드와 미래혁명
클라우드와 미래혁명클라우드와 미래혁명
클라우드와 미래혁명
 
Internet os
Internet osInternet os
Internet os
 
Personal Health Cloud
Personal Health CloudPersonal Health Cloud
Personal Health Cloud
 
IT와 인터넷의 역사
IT와 인터넷의 역사IT와 인터넷의 역사
IT와 인터넷의 역사
 
Animation based Medical Information - Contents as a Service
Animation based Medical Information - Contents as a ServiceAnimation based Medical Information - Contents as a Service
Animation based Medical Information - Contents as a Service
 
서비스 모델링 예시
서비스 모델링 예시서비스 모델링 예시
서비스 모델링 예시
 
융합의학 서비스디자인 / 비즈니스 모델링
융합의학 서비스디자인 / 비즈니스 모델링융합의학 서비스디자인 / 비즈니스 모델링
융합의학 서비스디자인 / 비즈니스 모델링
 
융합의학 서비스디자인 강의
융합의학 서비스디자인 강의융합의학 서비스디자인 강의
융합의학 서비스디자인 강의
 
융합의학강의 1강 - 융합의학개론
융합의학강의 1강 - 융합의학개론융합의학강의 1강 - 융합의학개론
융합의학강의 1강 - 융합의학개론
 
Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환
Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환
Health2.0, Medicine 2.0, 그리고 의료의 패러다임 전환
 
방송과 SNS의 미래
방송과 SNS의 미래방송과 SNS의 미래
방송과 SNS의 미래
 

Kürzlich hochgeladen

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Kürzlich hochgeladen (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

Html, Xml, 그리고 시맨틱웹

  • 1. HTML, XML andSemantic Web 관동의대 명지병원IT융합 연구소 정 지 훈
  • 3. What is HTML? Publish online documents with headings, text, tables, lists, photos, etc. Retrieve online information via hypertext links, at the click of a button. Design forms for conducting transactions with remote services, for use in searching for information, making reservations, ordering products, etc. Include spread-sheets, video clips, sound clips, and other applications directly in their documents.
  • 4. CSS Language for describing the presentation of Web pages Colors, Layout, and Fonts Allows to adapt the presentation to different types of devices, such as large screens, small screens, or printers. CSS is independent of HTML and can be used with any XML-based markup language. The separation of HTML from CSS makes it easier to maintain sites, share style sheets across pages, and tailor pages to different environments. This is referred to as the separation of structure (or: content) from presentation.
  • 5. Example <title>My first HTML document</title> <h1>An important heading</h1> <h2>A slightly less important heading</h2> <p>This is the first paragraph.</p> <p>This is the second paragraph.</p>
  • 6. Example: Image and Link <imgsrc="peter.jpg" width="200" height="150"> <imgsrc="peter.jpg" width="200" height="150" alt="My friend Peter"> This a link to <a href="peter.html">Peter's page</a> This is a link to <a href="http://www.w3.org/">W3C</a> <a href="/"><imgsrc="logo.gif" alt="home page"></a>
  • 7. Head and Body <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> replace with your document's title </title> </head> <body> replace with your document's content </body> </html>
  • 8. XML
  • 9. What is XML? Extensible Lets you define your own tags, the order in which they occur, and how they should be processed or displayed. Markup Language XML is a language that’s very similar to HTML. It’s much more flexible than HTML because it allows you to create your own custom tags. It’s important to realize that XML is not just a language. XML is a meta-language: a language that allows us to create or define other languages. Example With XML we can create other languages, such as RSS, MathML (a mathematical markup language), and even tools like XSLT.
  • 10. Address Example: External to HTML External Presentation: 정지훈 서울 관악구 신림동 서울대학교 HTML tags are still presentation-oriented HTML Markup: <em>정지훈</em> <br> 서울 관악구 신림동 <br> <strong>서울대학교</strong>
  • 11. Address Example: HTML to XML HTML Markup: While not conveying any formal semantics: <em>정지훈</em> <br> 서울 관악구 신림동 <br> <strong>서울대학교</strong> XML tags are chosen for content-structuring needs XML Markup: <address> <name>정지훈</name> <street>서울 관악구 신림동</street> <town>서울대학교</town> </address>
  • 12. Address Example: XML to External XML Markup: <address> <name>정지훈</name> <street>서울 관악구 신림동</street> <town>서울대학교</town> </address> XML stylesheets are, e.g., usable to generate different presentations External Presentations: 정지훈 서울 관악구 신림동 서울대학교 정지훈 서울 관악구 신림동 서울대학교 . . .
  • 13. Document Type Tree: address name street town PCDATA PCDATA PCDATA Address Example:Document Type Definition Document Type Definition (DTD): Extended Backus-Naur Form (EBNF): <!ELEMENT address (name, street, town) > <!ELEMENT name (#PCDATA) > <!ELEMENT street (#PCDATA) > <!ELEMENT town (#PCDATA) > address ::= namestreettown name ::= PCDATA street ::= PCDATA town ::= PCDATA
  • 14. A Complete XML Document Referring to an External DTD XML Instance Document Referring to DTD (via root element): <?xml version="1.0" standalone="no"?> <!DOCTYPE address SYSTEM "address.dtd"> <address> <name>정지훈</name> <street>서울 관악구 신림동</street> <town>서울대학교</town> </address> The XML declaration uses standalone attribute with "no" value: DTD import The DOCument TYPE declaration names the root element address and, after the SYSTEM keyword, refers to an external DTD at "address.dtd"
  • 15. XML Schema Definition Equivalent XML Schema Definition (XSD): <?xml version="1.0"?> <xsd:schemaxmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="address"> <xsd:complexType> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> <xsd:element name="street" type="xsd:string"/> <xsd:element name="town" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>