SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados (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
 

Semelhante a Html, Xml, 그리고 시맨틱웹

Semelhante a 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
 

Mais de 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
 

Mais de 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의 미래
 

Último

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
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
 
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
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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
 
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
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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...
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

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>