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




            Mulberry                                                              Mulberry                                                                     Mulberry
         Technologies, Inc.                                                    Technologies, Inc.                                                           Technologies, Inc.
                                     © 2000 Mulberry Technologies, Inc.                                          © 2000 Mulberry Technologies, Inc.                                      © 2000 Mulberry Technologies, Inc.

More Related Content

What's hot

Omg Fundamental Certification 4
Omg Fundamental Certification 4Omg Fundamental Certification 4
Omg Fundamental Certification 4Ricardo Quintero
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Ricardo Quintero
 
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
 
Corejava Online 100
Corejava Online 100Corejava Online 100
Corejava Online 100reynolds
 
The SOUL Tool Suite for Querying Programs in Symbiosis with Eclipse
The SOUL Tool Suite for Querying Programs in Symbiosis with EclipseThe SOUL Tool Suite for Querying Programs in Symbiosis with Eclipse
The SOUL Tool Suite for Querying Programs in Symbiosis with EclipseCoen De Roover
 
jsp, javaserver pages, Card20
jsp, javaserver pages, Card20jsp, javaserver pages, Card20
jsp, javaserver pages, Card20JavaEE Trainers
 
03 Object Relational Mapping
03 Object Relational Mapping03 Object Relational Mapping
03 Object Relational MappingRanjan Kumar
 
Moose Design Patterns
Moose Design PatternsMoose Design Patterns
Moose Design PatternsYnon Perek
 
Detecting aspect-specific code smells using Ekeko for AspectJ
Detecting aspect-specific code smells using Ekeko for AspectJDetecting aspect-specific code smells using Ekeko for AspectJ
Detecting aspect-specific code smells using Ekeko for AspectJCoen De Roover
 
Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Coen De Roover
 
Leveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjaraniLeveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjaraniAjith Ajjarani
 
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
 
Schema Structures Qr 2
Schema Structures Qr 2Schema Structures Qr 2
Schema Structures Qr 2LiquidHub
 

What's hot (16)

Omg Fundamental Certification 4
Omg Fundamental Certification 4Omg Fundamental Certification 4
Omg Fundamental Certification 4
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
 
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
 
Corejava Online 100
Corejava Online 100Corejava Online 100
Corejava Online 100
 
The SOUL Tool Suite for Querying Programs in Symbiosis with Eclipse
The SOUL Tool Suite for Querying Programs in Symbiosis with EclipseThe SOUL Tool Suite for Querying Programs in Symbiosis with Eclipse
The SOUL Tool Suite for Querying Programs in Symbiosis with Eclipse
 
jsp, javaserver pages, Card20
jsp, javaserver pages, Card20jsp, javaserver pages, Card20
jsp, javaserver pages, Card20
 
03 Object Relational Mapping
03 Object Relational Mapping03 Object Relational Mapping
03 Object Relational Mapping
 
Moose Design Patterns
Moose Design PatternsMoose Design Patterns
Moose Design Patterns
 
Detecting aspect-specific code smells using Ekeko for AspectJ
Detecting aspect-specific code smells using Ekeko for AspectJDetecting aspect-specific code smells using Ekeko for AspectJ
Detecting aspect-specific code smells using Ekeko for AspectJ
 
Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012
 
Leveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjaraniLeveraging collaborativetaggingforwebitemdesign ajithajjarani
Leveraging collaborativetaggingforwebitemdesign ajithajjarani
 
java
java java
java
 
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...
 
Schema Structures Qr 2
Schema Structures Qr 2Schema Structures Qr 2
Schema Structures Qr 2
 
Cheat Sheet java
Cheat Sheet javaCheat Sheet java
Cheat Sheet java
 

Similar to Xml Syntax Quick Reference

Similar to Xml Syntax Quick Reference (6)

Xm lquickref
Xm lquickrefXm lquickref
Xm lquickref
 
Xm lquickref
Xm lquickrefXm lquickref
Xm lquickref
 
XML Bible
XML BibleXML Bible
XML Bible
 
259 w4
259 w4259 w4
259 w4
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
 
Document type definitions part 2
Document type definitions part 2Document type definitions part 2
Document type definitions part 2
 

More from LiquidHub

Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0LiquidHub
 
Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade processLiquidHub
 
Share point 2013
Share point 2013Share point 2013
Share point 2013LiquidHub
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovementsLiquidHub
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2LiquidHub
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010LiquidHub
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share pointLiquidHub
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server DeploymentLiquidHub
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install DatabasesLiquidHub
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment DetailLiquidHub
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup StrategiesLiquidHub
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003LiquidHub
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration StepsLiquidHub
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007LiquidHub
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughLiquidHub
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshLiquidHub
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshLiquidHub
 

More from LiquidHub (20)

Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0Share point 2013 coding standards and best practices 1.0
Share point 2013 coding standards and best practices 1.0
 
Sharepoint 2013 upgrade process
Sharepoint 2013 upgrade processSharepoint 2013 upgrade process
Sharepoint 2013 upgrade process
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
 
Share point 2010-uiimprovements
Share point 2010-uiimprovementsShare point 2010-uiimprovements
Share point 2010-uiimprovements
 
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
Microsoft office-sharepoint-server-2007-presentation-120211522467022-2
 
Managing metadata in_share_point_2010
Managing metadata in_share_point_2010Managing metadata in_share_point_2010
Managing metadata in_share_point_2010
 
Fast search for share point
Fast search for share pointFast search for share point
Fast search for share point
 
Simple Farm Server Deployment
Simple Farm Server DeploymentSimple Farm Server Deployment
Simple Farm Server Deployment
 
Pre Install Databases
Pre Install DatabasesPre Install Databases
Pre Install Databases
 
Moss 2007 Deployment Detail
Moss 2007 Deployment DetailMoss 2007 Deployment Detail
Moss 2007 Deployment Detail
 
Moss 2007 Backup Strategies
Moss 2007 Backup StrategiesMoss 2007 Backup Strategies
Moss 2007 Backup Strategies
 
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
How To Configure Email Enabled Lists In Moss2007 Rtm Using Exchange 2003
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps5060 A 01 Demonstration Steps
5060 A 01 Demonstration Steps
 
5060 A 01
5060 A 015060 A 01
5060 A 01
 
Working With Infopath 2007
Working With Infopath 2007Working With Infopath 2007
Working With Infopath 2007
 
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature WalkthroughWhats New In Microsoft Windows Share Point Services Feature Walkthrough
Whats New In Microsoft Windows Share Point Services Feature Walkthrough
 
Overviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components RefreshOverviewofthe2007 Microsoft Office System Components Refresh
Overviewofthe2007 Microsoft Office System Components Refresh
 
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 RefreshOrganizingand Finding Resourceswith Office Share Point Server2007 Refresh
Organizingand Finding Resourceswith Office Share Point Server2007 Refresh
 

Recently uploaded

Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
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
 
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
 
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
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
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
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
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
 
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...
 
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
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

Xml Syntax Quick Reference

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