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

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Kürzlich hochgeladen (20)

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

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.