SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
Element Declaration                                                       Attribute Declaration
<!ELEMENT       name        (content-model) >                             <!ATTLIST element name declvalue default >
                                                                                              name of              keyword or
keyword
        name of the
        element type, formal definition of the
ELEMENT its "tag"    element's allowed content
                                                                          keyword
                                                                          ATTLIST
                                                                                             attribute
                                                                                                      what kind of
                                                                                                                   default value
                                                                                                      value or list of
                                                                                                                                                XML Syntax
                                                                                                      values
Connectors                                                                     name of the
                                                                               associated
                                                                               element
                                                                                                         repeat for
                                                                                                                                                Quick Reference
,         “Then”            Follow with (in sequence)                                                  each attribute
|      “Or”        Select (only) one from the group
                                                                          Declared Value Keywords
Only one connector type per group — no mixing!
                                                                          CDATA            Data character string (default if well-formed)
Occurrence Indicators                                                     NMTOKEN          Name token
(no indicator)     Required                      One and only one         NMTOKENS         One or more name tokens (spaces between)
?                  Optional                      None or one              ID               Unique identifier for element
*                  Optional, repeatable          None, one, or more       IDREF            Reference to ID on another element
+                  Required, repeatable          One or more              IDREFS           One or more IDREFs (spaces between)
                                                                          ENTITY           Name of an entity (declared elsewhere)
Groupings                                                                 ENTITIES         One or more names of entities
(                  Start content model or group
)                  End content model or group                             Enumerated Value Descriptions
                                                                          (a|b|c)          List of attribute values (Or between)
#PCDATA in Models (first, OR bars, asterisk)                              NOTATION         Names of notations (Requires a list of
(#PCDATA)                                                                 (x|y)            values as well as the keyword. Values
(#PCDATA | elem1 | elem2 )*
                                                                                           declared elsewhere with NOTATION.)
                           element
    keyword                  name always
    #PCDATA
              Vertical Bar "|"   include the *                            Attribute Defaults
                                                                          "value"   If attribute is omitted, assume this value.
ANY Element Keyword
                                                                          #REQUIRED Required. Document is not valid if no
<!ELEMENT       name         ANY     >
                                                                                    value is provided.
keyword
        name of the           keyword                                     #IMPLIED Optional. Not constrained; no default can                    Mulberry Technologies, Inc.
        element type,         ANY
ELEMENT its "tag"                                                                   be inferred; an application is free to handle               17 West Jefferson Street, Suite 207
                                                                                    as appropriate.                                             Rockville, MD 20850 USA
EMPTY Element Keyword                                                     #FIXED    Fixed value. (Requires a value as well as                   Phone: +1 301/315-9631
<!ELEMENT       name         EMPTY       >                                 "value" the keyword.) If the attribute appears with                  Fax: +1 301/315-8285
                                                                                                                                                info@mulberrytech.com
        name of the                                                                 a different value, that’s an error.
keyword                       keyword                                                                                                           http://www.mulberrytech.com
        element type,         EMPTY
ELEMENT its "tag"
                                                                          Reserved Attributes
                                                                          xml:space Preserve whitespace or use default
                                                                          xml:lang Indicate language of element and that
                                                                                    element’s attributes and children

                                                                                                                                                             Mulberry
                                                                                                                                                          Technologies, Inc.

          Mulberry                                                                Mulberry
       Technologies, Inc.            © 2006 Mulberry Technologies, Inc.        Technologies, Inc.          © 2006 Mulberry Technologies, Inc.
DOCTYPE Declaration                                                       Parameter Entity Declarations                                                   XML Declaration
<!DOCTYPE name External-ID [ declarations ] >                                                                                                             <?xml version="1.0" encoding="UTF-8" standalone="no"?>
                                                                          Internal Parameter Entity
      name of the              the internal                                                                                                                                                      Standalone declaration:
      document                                                            <!ENTITY   %       name       "     whatever text       "     >                      Version of the
                               subset of
      type                     the DTD                                                                                                                         XML specification                 no: parsing affected by
               pointer to      (optional)
               another file                                                keyword       name of                  entity value                                                                      external DTD subset
keyword                    DSO              DSC                            ENTITY        the entity               (any literal)                                                                  yes: parsing not affected by
DOCTYPE              Declaration     Declaration                                                                                                                                                    external DTD subset
                     Subset Open Subset Close                                  percent sign "%"
                                                                               shows this is a                single or double quotes,                                   Character encoding of the
                                                                               parameter entity                  ' or ", must match                                      document, expressed in
Internal Subset                                                                                                                                                          Latin characters, e.g. UTF-8, UTF-16,
D
o
    <?xml version="1.0"?>                                                 External Parameter Entity                                                                      EUC-JP, ISO-10646-UCS2
c   <!DOCTYPE whatnot
u
m   [                     DOCTYPE declaration                             <!ENTITY       %      name               External-ID          >
e                             includes other declarations
n
t                             in an internal subset
                                                                                           name of
                                                                                                                                                          Processing Instruction
                                                                            keyword
E   ]>                                                                      ENTITY         the entity               pointer to a file                     <?target ***Some Stuff **** ?>
n
t
i                                                                                percent sign "%"
t                                  Tags and text:
                                   the document                                  shows this is a
y
                                                                                 parameter entity                                                         Notation Declaration
                                                                                                                                                          <!NOTATION    name     External-ID     >
External Subset
D
o
c
    <?xml version="1.0"?>    DOCTYPE declaration                          General Entity Declarations                                                      keyword
                                                                                                                                                           NOTATION            SYSTEM or PUBLIC identifier
u
    <!DOCTYPE whatnot        refers to a DTD in a
                                                                                                                                                                               (PUBLIC does not require URI)
m     SYSTEM "whatnot.dtd" > external subset.                                                                                                                          name of
e
n
t                                 a file named:                           Internal Entity                                                                              the entity
                                  whatnot.dtd                             <!ENTITY    name           "        whatever text       " >                                  (FAX, JPG, CGS, etc.)
E
n                                                                                                                                                                      must be unique in DTD
t
i
t
                                                                                                                entity value
y                                Tags and text:                            keyword                              (any literal)
                                                                           ENTITY name of
                                 the document                                      the entity               single or double quotes,                      Comment
                                                                                                               ' or ", must match
Internal and External Subsets                                                                                                                             <!-- Whatever you want to say! -->
D <?xml version="1.0"?>        DOCTYPE declaration
o
c <!DOCTYPE whatnot            refers to an external                      External Unparsed Entity                                                                     Comment may contain any
u    SYSTEM "whatnot.dtd"      subset and includes an                                                                                                               characters except the string "--".
m[                             internal subset.                           <!ENTITY   name      External-ID             NDATA name           >
e                              DTD is sum of the parts.
n
t ]>                             a file named:                            keyword       SYSTEM or
E
n
                                 whatnot.dtd                              ENTITY        PUBLIC identifier keyword NDATA                                   Start Tag with Attribute (in document)
t                                                                               name of                   followed by
i                                                                               the entity                notation name                                   <tag attributename = " attribute-value " >
t                              Tags and text:
y
                               the document
                                                                          Predefined General Entities                                                             name of the            one or more
                                                                                                                                                                  attribute              values
                                                                          Entity                    Displays As             Character Value               name of            equals single or double quotes,
Conditional Section (DTD only)                                                                                                                            the element         sign     ' or ", must match
                                                                          &amp;                     &                       &#38;#38;
<![IGNORE[ declarations ]]>
<![INCLUDE[ declarations ]]>                                              &lt;                      <                       &#38;#60;
                                                                          &gt;                      >                       &#62;                         EMPTY Element (in document)
                                                                          &apos;                                            &#39;                         <name/>
External-ID                                                                                         '                                                     <name></name>
     SYSTEM "URI"                                                         &quot;                    "                       &#34;
OR
     PUBLIC "Public ID" "URI"
                                                                                                                                                          CDATA Section (in document)
                                                                                                                                                          <![CDATA[ *** Some Stuff *** ]]>




            Mulberry                                                              Mulberry                                                                         Mulberry
         Technologies, Inc.                                                    Technologies, Inc.                    © 2006 Mulberry Technologies, Inc.         Technologies, Inc.           © 2006 Mulberry Technologies, Inc.
                                     © 2006 Mulberry Technologies, Inc.

Weitere ähnliche Inhalte

Was ist angesagt?

Database Design E R 2009
Database Design E R 2009Database Design E R 2009
Database Design E R 2009Cathie101
 
jsp, javaserver pages, Card20
jsp, javaserver pages, Card20jsp, javaserver pages, Card20
jsp, javaserver pages, Card20JavaEE Trainers
 
Machine learning Lecture 3
Machine learning Lecture 3Machine learning Lecture 3
Machine learning Lecture 3Srinivasan R
 
Sdtl manual
Sdtl manualSdtl manual
Sdtl manualqaz8989
 
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...Daniele Gianni
 
Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...
Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...
Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...Takashi Iba
 
Chapter 01 Introduction to Java by Tushar B Kute
Chapter 01 Introduction to Java by Tushar B KuteChapter 01 Introduction to Java by Tushar B Kute
Chapter 01 Introduction to Java by Tushar B KuteTushar B Kute
 
Java essentials for hadoop
Java essentials for hadoopJava essentials for hadoop
Java essentials for hadoopSeo Gyansha
 
A General Extension System for Event Processing Languages
A General Extension System for Event Processing LanguagesA General Extension System for Event Processing Languages
A General Extension System for Event Processing LanguagesAlexandre de Castro Alves
 
Java Reference
Java ReferenceJava Reference
Java Referencekhoj4u
 
Leveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjaraniLeveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjaraniAjith Ajjarani
 
4.class diagramsusinguml
4.class diagramsusinguml4.class diagramsusinguml
4.class diagramsusingumlAPU
 

Was ist angesagt? (16)

Database Design E R 2009
Database Design E R 2009Database Design E R 2009
Database Design E R 2009
 
En webinar jpa v2final
En webinar jpa v2finalEn webinar jpa v2final
En webinar jpa v2final
 
jsp, javaserver pages, Card20
jsp, javaserver pages, Card20jsp, javaserver pages, Card20
jsp, javaserver pages, Card20
 
Cascon2011_5_rules+owl
Cascon2011_5_rules+owlCascon2011_5_rules+owl
Cascon2011_5_rules+owl
 
Machine learning Lecture 3
Machine learning Lecture 3Machine learning Lecture 3
Machine learning Lecture 3
 
Sdtl manual
Sdtl manualSdtl manual
Sdtl manual
 
java
java java
java
 
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
The DEVS-Driven Modeling Language: Syntax and Semantics Definition by Meta-Mo...
 
Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...
Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...
Invited Talk "Pattern Language 3.0: Writing Pattern Languages for Human Actio...
 
Chapter 01 Introduction to Java by Tushar B Kute
Chapter 01 Introduction to Java by Tushar B KuteChapter 01 Introduction to Java by Tushar B Kute
Chapter 01 Introduction to Java by Tushar B Kute
 
Java essentials for hadoop
Java essentials for hadoopJava essentials for hadoop
Java essentials for hadoop
 
A General Extension System for Event Processing Languages
A General Extension System for Event Processing LanguagesA General Extension System for Event Processing Languages
A General Extension System for Event Processing Languages
 
Ruby object model
Ruby object modelRuby object model
Ruby object model
 
Java Reference
Java ReferenceJava Reference
Java Reference
 
Leveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjaraniLeveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjarani
 
4.class diagramsusinguml
4.class diagramsusinguml4.class diagramsusinguml
4.class diagramsusinguml
 

Mehr von FrescatiStory

Colina crucilor, Lituania
Colina crucilor, LituaniaColina crucilor, Lituania
Colina crucilor, LituaniaFrescatiStory
 
Palatul lui Gigi Becali
Palatul lui Gigi BecaliPalatul lui Gigi Becali
Palatul lui Gigi BecaliFrescatiStory
 
Le marché aux oignons à Berne, Suisse
Le marché aux oignons à Berne, SuisseLe marché aux oignons à Berne, Suisse
Le marché aux oignons à Berne, SuisseFrescatiStory
 
Crucea Caraiman (Crucea Eroilor Neamului)
Crucea Caraiman (Crucea Eroilor Neamului)Crucea Caraiman (Crucea Eroilor Neamului)
Crucea Caraiman (Crucea Eroilor Neamului)FrescatiStory
 
A fi părinte în lumea animalelor - Parenting Moments in the Animal World
A fi părinte în lumea animalelor - Parenting Moments in the Animal WorldA fi părinte în lumea animalelor - Parenting Moments in the Animal World
A fi părinte în lumea animalelor - Parenting Moments in the Animal WorldFrescatiStory
 
România. Lecția de istorie
România. Lecția de istorieRomânia. Lecția de istorie
România. Lecția de istorieFrescatiStory
 
Alertă medicală - Un osuț foarte ascuțit
Alertă medicală - Un osuț foarte ascuțitAlertă medicală - Un osuț foarte ascuțit
Alertă medicală - Un osuț foarte ascuțitFrescatiStory
 
Large Easter eggs around the world
Large Easter eggs around the worldLarge Easter eggs around the world
Large Easter eggs around the worldFrescatiStory
 
Patru secrete ale telefonului tău mobil
Patru secrete ale telefonului tău mobilPatru secrete ale telefonului tău mobil
Patru secrete ale telefonului tău mobilFrescatiStory
 
Populația mahomedană în Europa
Populația mahomedană în EuropaPopulația mahomedană în Europa
Populația mahomedană în EuropaFrescatiStory
 
Plus qu’une photo / Mai mult decât o simplă fotografie / More than just a photo
Plus qu’une photo / Mai mult decât o simplă fotografie / More than just a photoPlus qu’une photo / Mai mult decât o simplă fotografie / More than just a photo
Plus qu’une photo / Mai mult decât o simplă fotografie / More than just a photoFrescatiStory
 
Niciodata toamna n-a fost mai frumoasa
Niciodata toamna n-a fost mai frumoasaNiciodata toamna n-a fost mai frumoasa
Niciodata toamna n-a fost mai frumoasaFrescatiStory
 

Mehr von FrescatiStory (20)

Șomerul
ȘomerulȘomerul
Șomerul
 
Colina crucilor, Lituania
Colina crucilor, LituaniaColina crucilor, Lituania
Colina crucilor, Lituania
 
Palatul lui Gigi Becali
Palatul lui Gigi BecaliPalatul lui Gigi Becali
Palatul lui Gigi Becali
 
Le marché aux oignons à Berne, Suisse
Le marché aux oignons à Berne, SuisseLe marché aux oignons à Berne, Suisse
Le marché aux oignons à Berne, Suisse
 
Photos inusitées
Photos inusitéesPhotos inusitées
Photos inusitées
 
Beautiful Greece
Beautiful GreeceBeautiful Greece
Beautiful Greece
 
Crucea Caraiman (Crucea Eroilor Neamului)
Crucea Caraiman (Crucea Eroilor Neamului)Crucea Caraiman (Crucea Eroilor Neamului)
Crucea Caraiman (Crucea Eroilor Neamului)
 
A fi părinte în lumea animalelor - Parenting Moments in the Animal World
A fi părinte în lumea animalelor - Parenting Moments in the Animal WorldA fi părinte în lumea animalelor - Parenting Moments in the Animal World
A fi părinte în lumea animalelor - Parenting Moments in the Animal World
 
România. Lecția de istorie
România. Lecția de istorieRomânia. Lecția de istorie
România. Lecția de istorie
 
Islamism
IslamismIslamism
Islamism
 
Alertă medicală - Un osuț foarte ascuțit
Alertă medicală - Un osuț foarte ascuțitAlertă medicală - Un osuț foarte ascuțit
Alertă medicală - Un osuț foarte ascuțit
 
Oameni, destine
Oameni, destineOameni, destine
Oameni, destine
 
Large Easter eggs around the world
Large Easter eggs around the worldLarge Easter eggs around the world
Large Easter eggs around the world
 
Patru secrete ale telefonului tău mobil
Patru secrete ale telefonului tău mobilPatru secrete ale telefonului tău mobil
Patru secrete ale telefonului tău mobil
 
Populația mahomedană în Europa
Populația mahomedană în EuropaPopulația mahomedană în Europa
Populația mahomedană în Europa
 
Bucovina altui veac
Bucovina altui veacBucovina altui veac
Bucovina altui veac
 
Plus qu’une photo / Mai mult decât o simplă fotografie / More than just a photo
Plus qu’une photo / Mai mult decât o simplă fotografie / More than just a photoPlus qu’une photo / Mai mult decât o simplă fotografie / More than just a photo
Plus qu’une photo / Mai mult decât o simplă fotografie / More than just a photo
 
Noiembrie frumoasă
Noiembrie frumoasăNoiembrie frumoasă
Noiembrie frumoasă
 
Niciodata toamna n-a fost mai frumoasa
Niciodata toamna n-a fost mai frumoasaNiciodata toamna n-a fost mai frumoasa
Niciodata toamna n-a fost mai frumoasa
 
Salina Turda
Salina TurdaSalina Turda
Salina Turda
 

Kürzlich hochgeladen

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Kürzlich hochgeladen (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

XML Quick Reference (from mulberrytech.com)

  • 1. Element Declaration Attribute Declaration <!ELEMENT name (content-model) > <!ATTLIST element name declvalue default > name of keyword or keyword name of the element type, formal definition of the ELEMENT its "tag" element's allowed content keyword ATTLIST attribute what kind of default value value or list of XML Syntax values Connectors name of the associated element repeat for Quick Reference , “Then” Follow with (in sequence) each attribute | “Or” Select (only) one from the group Declared Value Keywords Only one connector type per group — no mixing! CDATA Data character string (default if well-formed) Occurrence Indicators NMTOKEN Name token (no indicator) Required One and only one NMTOKENS One or more name tokens (spaces between) ? Optional None or one ID Unique identifier for element * Optional, repeatable None, one, or more IDREF Reference to ID on another element + Required, repeatable One or more IDREFS One or more IDREFs (spaces between) ENTITY Name of an entity (declared elsewhere) Groupings ENTITIES One or more names of entities ( Start content model or group ) End content model or group Enumerated Value Descriptions (a|b|c) List of attribute values (Or between) #PCDATA in Models (first, OR bars, asterisk) NOTATION Names of notations (Requires a list of (#PCDATA) (x|y) values as well as the keyword. Values (#PCDATA | elem1 | elem2 )* declared elsewhere with NOTATION.) element keyword name always #PCDATA Vertical Bar "|" include the * Attribute Defaults "value" If attribute is omitted, assume this value. ANY Element Keyword #REQUIRED Required. Document is not valid if no <!ELEMENT name ANY > value is provided. keyword name of the keyword #IMPLIED Optional. Not constrained; no default can Mulberry Technologies, Inc. element type, ANY ELEMENT its "tag" be inferred; an application is free to handle 17 West Jefferson Street, Suite 207 as appropriate. Rockville, MD 20850 USA EMPTY Element Keyword #FIXED Fixed value. (Requires a value as well as Phone: +1 301/315-9631 <!ELEMENT name EMPTY > "value" the keyword.) If the attribute appears with Fax: +1 301/315-8285 info@mulberrytech.com name of the a different value, that’s an error. keyword keyword http://www.mulberrytech.com element type, EMPTY ELEMENT its "tag" Reserved Attributes xml:space Preserve whitespace or use default xml:lang Indicate language of element and that element’s attributes and children Mulberry Technologies, Inc. Mulberry Mulberry Technologies, Inc. © 2006 Mulberry Technologies, Inc. Technologies, Inc. © 2006 Mulberry Technologies, Inc.
  • 2. DOCTYPE Declaration Parameter Entity Declarations XML Declaration <!DOCTYPE name External-ID [ declarations ] > <?xml version="1.0" encoding="UTF-8" standalone="no"?> Internal Parameter Entity name of the the internal Standalone declaration: document <!ENTITY % name " whatever text " > Version of the subset of type the DTD XML specification no: parsing affected by pointer to (optional) another file keyword name of entity value external DTD subset keyword DSO DSC ENTITY the entity (any literal) yes: parsing not affected by DOCTYPE Declaration Declaration external DTD subset Subset Open Subset Close percent sign "%" shows this is a single or double quotes, Character encoding of the parameter entity ' or ", must match document, expressed in Internal Subset Latin characters, e.g. UTF-8, UTF-16, D o <?xml version="1.0"?> External Parameter Entity EUC-JP, ISO-10646-UCS2 c <!DOCTYPE whatnot u m [ DOCTYPE declaration <!ENTITY % name External-ID > e includes other declarations n t in an internal subset name of Processing Instruction keyword E ]> ENTITY the entity pointer to a file <?target ***Some Stuff **** ?> n t i percent sign "%" t Tags and text: the document shows this is a y parameter entity Notation Declaration <!NOTATION name External-ID > External Subset D o c <?xml version="1.0"?> DOCTYPE declaration General Entity Declarations keyword NOTATION SYSTEM or PUBLIC identifier u <!DOCTYPE whatnot refers to a DTD in a (PUBLIC does not require URI) m SYSTEM "whatnot.dtd" > external subset. name of e n t a file named: Internal Entity the entity whatnot.dtd <!ENTITY name " whatever text " > (FAX, JPG, CGS, etc.) E n must be unique in DTD t i t entity value y Tags and text: keyword (any literal) ENTITY name of the document the entity single or double quotes, Comment ' or ", must match Internal and External Subsets <!-- Whatever you want to say! --> D <?xml version="1.0"?> DOCTYPE declaration o c <!DOCTYPE whatnot refers to an external External Unparsed Entity Comment may contain any u SYSTEM "whatnot.dtd" subset and includes an characters except the string "--". m[ internal subset. <!ENTITY name External-ID NDATA name > e DTD is sum of the parts. n t ]> a file named: keyword SYSTEM or E n whatnot.dtd ENTITY PUBLIC identifier keyword NDATA Start Tag with Attribute (in document) t name of followed by i the entity notation name <tag attributename = " attribute-value " > t Tags and text: y the document Predefined General Entities name of the one or more attribute values Entity Displays As Character Value name of equals single or double quotes, Conditional Section (DTD only) the element sign ' or ", must match &amp; & &#38;#38; <![IGNORE[ declarations ]]> <![INCLUDE[ declarations ]]> &lt; < &#38;#60; &gt; > &#62; EMPTY Element (in document) &apos; &#39; <name/> External-ID ' <name></name> SYSTEM "URI" &quot; " &#34; OR PUBLIC "Public ID" "URI" CDATA Section (in document) <![CDATA[ *** Some Stuff *** ]]> Mulberry Mulberry Mulberry Technologies, Inc. Technologies, Inc. © 2006 Mulberry Technologies, Inc. Technologies, Inc. © 2006 Mulberry Technologies, Inc. © 2006 Mulberry Technologies, Inc.