際際滷

際際滷Share a Scribd company logo
DTDA Document Type Definition           =A set of structural rules, declarationsUse of DTD : impose uniform style sheet in external style sheet for XHTML Application program for testing document against the DTD
Internal , external DTDInternal DTD : embedded in the XML document External DTD stored in a separate filestructural uniformity across all of their documents
To avoid two different notations in the same document for debugging.A markup declaration<!keyword>ELEMENT : define tags.ATTLIST : define tag attributes.ENTITY : define entities.NOTATION : define data type notations.
Declaring Elements<!ELEMENT element_name (list of names of child elements)>Example)<!ELEMENT memo (from, to, data, re, body)>
Tree structurememofromtodatarebodyLeaf node, internal node :    character pattern or a list of its child elements
Child element specification modifiers<!ELEMENT person (parent+, age, spouse?, sibling*)
Parsable character dataa string of any printable character except less than(<), greater than(>), and ampersand(&).<!ELEMENT element_name(#PCDATA)><!ELEMENT b (#PCDATA)> <!ELEMENT p (#PCDATA|a|b)*> EMPTY and ANY

More Related Content

What's hot (20)

Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
Gtu Booker
Dtd
DtdDtd
Dtd
Abhishek Kesharwani
XML's validation - DTD
XML's validation - DTDXML's validation - DTD
XML's validation - DTD
videde_group
Intro to xml
Intro to xmlIntro to xml
Intro to xml
Tarun Jain
01 xml document structure
01 xml document structure01 xml document structure
01 xml document structure
Baskarkncet
Xml by Luqman
Xml by LuqmanXml by Luqman
Xml by Luqman
Luqman Shareef
XML Schema
XML SchemaXML Schema
XML Schema
yht4ever
DTD
DTDDTD
DTD
Kamal Acharya
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
Sudharsan S
Xml schema
Xml schemaXml schema
Xml schema
Akshaya Akshaya
2 dtd - validating xml documents
2   dtd - validating xml documents2   dtd - validating xml documents
2 dtd - validating xml documents
gauravashq
XML, DTD & XSD Overview
XML, DTD & XSD OverviewXML, DTD & XSD Overview
XML, DTD & XSD Overview
Pradeep Rapolu
DTD
DTDDTD
DTD
Kumar
03 namespace
03 namespace03 namespace
03 namespace
Baskarkncet
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
Jaya Kumari
02 xml schema
02 xml schema02 xml schema
02 xml schema
Baskarkncet
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
AakankshaR
Xml Presentation-1
Xml Presentation-1Xml Presentation-1
Xml Presentation-1
Sudharsan S
Xml schema
Xml schemaXml schema
Xml schema
Harry Potter
Xml presentation
Xml presentationXml presentation
Xml presentation
Miguel Angel Teheran Garcia

Viewers also liked (7)

Navi manual
Navi manualNavi manual
Navi manual
garden8an
Cosc412 presentation1
Cosc412 presentation1Cosc412 presentation1
Cosc412 presentation1
garden8an
Phase 2
Phase 2Phase 2
Phase 2
garden8an
J Chen Resume 際際滷s 2011
J Chen Resume 際際滷s 2011J Chen Resume 際際滷s 2011
J Chen Resume 際際滷s 2011
itsjenny
Resume - Copy
Resume - CopyResume - Copy
Resume - Copy
Kunal Kumar
Curating]Sketch_out_SSU
Curating]Sketch_out_SSUCurating]Sketch_out_SSU
Curating]Sketch_out_SSU
garden8an
Navi manual
Navi manualNavi manual
Navi manual
garden8an
Cosc412 presentation1
Cosc412 presentation1Cosc412 presentation1
Cosc412 presentation1
garden8an
J Chen Resume 際際滷s 2011
J Chen Resume 際際滷s 2011J Chen Resume 際際滷s 2011
J Chen Resume 際際滷s 2011
itsjenny
Resume - Copy
Resume - CopyResume - Copy
Resume - Copy
Kunal Kumar
Curating]Sketch_out_SSU
Curating]Sketch_out_SSUCurating]Sketch_out_SSU
Curating]Sketch_out_SSU
garden8an

Similar to Jungahan web presentation (20)

Document type definition
Document type definitionDocument type definition
Document type definition
Raghu nath
Session 2
Session 2Session 2
Session 2
L畉i 畛c Chung
Xml2
Xml2Xml2
Xml2
Abhishek Kesharwani
2-DTD.ppt
2-DTD.ppt2-DTD.ppt
2-DTD.ppt
KGSCSEPSGCT
Encoded Archival Description (EAD)
Encoded Archival Description (EAD) Encoded Archival Description (EAD)
Encoded Archival Description (EAD)
Farris Wahbeh
it8074-soa-uniti-.pdf
it8074-soa-uniti-.pdfit8074-soa-uniti-.pdf
it8074-soa-uniti-.pdf
FreeFire293813
It8074 soa-unit i
It8074 soa-unit iIt8074 soa-unit i
It8074 soa-unit i
RevathiAPICSE
CIS-189 Final Review
CIS-189 Final ReviewCIS-189 Final Review
CIS-189 Final Review
Randy Riness @ South Puget Sound Community College
Unit iv xml
Unit iv xmlUnit iv xml
Unit iv xml
smitha273566
Document Type Definition
Document Type DefinitionDocument Type Definition
Document Type Definition
yht4ever
XXE
XXEXXE
XXE
n|u - The Open Security Community
Xxe
XxeXxe
Xxe
nullowaspmumbai
10. XML in DBMS
10. XML in DBMS10. XML in DBMS
10. XML in DBMS
koolkampus
DTD1.pptx
DTD1.pptxDTD1.pptx
DTD1.pptx
MouDhara1
XML Bible
XML BibleXML Bible
XML Bible
LiquidHub
Xml and Co.
Xml and Co.Xml and Co.
Xml and Co.
Findik Dervis
Chen test paper20abcdeftfdfd
Chen test paper20abcdeftfdfdChen test paper20abcdeftfdfd
Chen test paper20abcdeftfdfd
techweb08
Test for an issue
Test for an issueTest for an issue
Test for an issue
techweb08
Chen's first test slides
Chen's first test slidesChen's first test slides
Chen's first test slides
Hima Challa
Tp2
Tp2Tp2
Tp2
B狸nh Tr畛ng n

Jungahan web presentation

  • 1. DTDA Document Type Definition =A set of structural rules, declarationsUse of DTD : impose uniform style sheet in external style sheet for XHTML Application program for testing document against the DTD
  • 2. Internal , external DTDInternal DTD : embedded in the XML document External DTD stored in a separate filestructural uniformity across all of their documents
  • 3. To avoid two different notations in the same document for debugging.A markup declaration<!keyword>ELEMENT : define tags.ATTLIST : define tag attributes.ENTITY : define entities.NOTATION : define data type notations.
  • 4. Declaring Elements<!ELEMENT element_name (list of names of child elements)>Example)<!ELEMENT memo (from, to, data, re, body)>
  • 5. Tree structurememofromtodatarebodyLeaf node, internal node : character pattern or a list of its child elements
  • 6. Child element specification modifiers<!ELEMENT person (parent+, age, spouse?, sibling*)
  • 7. Parsable character dataa string of any printable character except less than(<), greater than(>), and ampersand(&).<!ELEMENT element_name(#PCDATA)><!ELEMENT b (#PCDATA)> <!ELEMENT p (#PCDATA|a|b)*> EMPTY and ANY