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

Weitere Àhnliche Inhalte

Was ist angesagt?

Xml Syntax Quick Reference
Xml Syntax Quick ReferenceXml Syntax Quick Reference
Xml Syntax Quick ReferenceLiquidHub
 
Xm Lquickref
Xm LquickrefXm Lquickref
Xm LquickrefLiquidHub
 
Introduction to php 3
Introduction to php   3Introduction to php   3
Introduction to php 3pctechnology
 
Chapter 3.1
Chapter 3.1Chapter 3.1
Chapter 3.1sotlsoc
 

Was ist angesagt? (6)

Xml Syntax Quick Reference
Xml Syntax Quick ReferenceXml Syntax Quick Reference
Xml Syntax Quick Reference
 
Xm Lquickref
Xm LquickrefXm Lquickref
Xm Lquickref
 
Friend Function
Friend FunctionFriend Function
Friend Function
 
Introduction to php 3
Introduction to php   3Introduction to php   3
Introduction to php 3
 
Variables
VariablesVariables
Variables
 
Chapter 3.1
Chapter 3.1Chapter 3.1
Chapter 3.1
 

Andere mochten auch

Reglamento de ParticipaciĂłn Ciudadana
Reglamento de ParticipaciĂłn CiudadanaReglamento de ParticipaciĂłn Ciudadana
Reglamento de ParticipaciĂłn CiudadanaFrancisco Navarro Garcia
 
Reglamento participaciĂłn ciudadana
Reglamento participaciĂłn ciudadanaReglamento participaciĂłn ciudadana
Reglamento participaciĂłn ciudadanaFrancisco Navarro Garcia
 
Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01
Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01
Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01Soujanya V
 
L’habitat intermĂ©diaire
L’habitat   intermĂ©diaire L’habitat   intermĂ©diaire
L’habitat intermĂ©diaire Sami Sahli
 
exprimer-la-certitude-et-le-doute
 exprimer-la-certitude-et-le-doute exprimer-la-certitude-et-le-doute
exprimer-la-certitude-et-le-douteantorome
 
Dia de la MĂ  Vermella - Nens Soldats
Dia de la MĂ  Vermella - Nens SoldatsDia de la MĂ  Vermella - Nens Soldats
Dia de la MĂ  Vermella - Nens SoldatsMans Unides ONG
 
Présentation de projet urbain
Présentation de projet urbainPrésentation de projet urbain
Présentation de projet urbainSami Sahli
 
Wharton study on_income_annuities (1)
Wharton study on_income_annuities (1)Wharton study on_income_annuities (1)
Wharton study on_income_annuities (1)Bryan Daly
 
Hamma les annasser. au 01
Hamma   les annasser. au 01Hamma   les annasser. au 01
Hamma les annasser. au 01Sami Sahli
 
Tracking: Cookies vs. cookieless Tracking
Tracking: Cookies vs. cookieless TrackingTracking: Cookies vs. cookieless Tracking
Tracking: Cookies vs. cookieless TrackingJan Berens
 
Spuren im Internet
Spuren im Internet Spuren im Internet
Spuren im Internet MandlSabrina089
 

Andere mochten auch (18)

Presupuesto
PresupuestoPresupuesto
Presupuesto
 
Stenogr
StenogrStenogr
Stenogr
 
Convenio
ConvenioConvenio
Convenio
 
Reglamento de ParticipaciĂłn Ciudadana
Reglamento de ParticipaciĂłn CiudadanaReglamento de ParticipaciĂłn Ciudadana
Reglamento de ParticipaciĂłn Ciudadana
 
Reglamento participaciĂłn ciudadana
Reglamento participaciĂłn ciudadanaReglamento participaciĂłn ciudadana
Reglamento participaciĂłn ciudadana
 
Garagino doc
Garagino docGaragino doc
Garagino doc
 
Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01
Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01
Bigdataissueschallengestoolsngoodpractices 141130054740-conversion-gate01
 
Mod convenio
Mod convenioMod convenio
Mod convenio
 
virtual resume
virtual resumevirtual resume
virtual resume
 
Puestos
PuestosPuestos
Puestos
 
L’habitat intermĂ©diaire
L’habitat   intermĂ©diaire L’habitat   intermĂ©diaire
L’habitat intermĂ©diaire
 
exprimer-la-certitude-et-le-doute
 exprimer-la-certitude-et-le-doute exprimer-la-certitude-et-le-doute
exprimer-la-certitude-et-le-doute
 
Dia de la MĂ  Vermella - Nens Soldats
Dia de la MĂ  Vermella - Nens SoldatsDia de la MĂ  Vermella - Nens Soldats
Dia de la MĂ  Vermella - Nens Soldats
 
Présentation de projet urbain
Présentation de projet urbainPrésentation de projet urbain
Présentation de projet urbain
 
Wharton study on_income_annuities (1)
Wharton study on_income_annuities (1)Wharton study on_income_annuities (1)
Wharton study on_income_annuities (1)
 
Hamma les annasser. au 01
Hamma   les annasser. au 01Hamma   les annasser. au 01
Hamma les annasser. au 01
 
Tracking: Cookies vs. cookieless Tracking
Tracking: Cookies vs. cookieless TrackingTracking: Cookies vs. cookieless Tracking
Tracking: Cookies vs. cookieless Tracking
 
Spuren im Internet
Spuren im Internet Spuren im Internet
Spuren im Internet
 

Ähnlich wie Xm lquickref (20)

Dtd
DtdDtd
Dtd
 
Test for an issue
Test for an issueTest for an issue
Test for an issue
 
Chen's first test slides
Chen's first test slidesChen's first test slides
Chen's first test slides
 
Chen test paper20abcdeftfdfd
Chen test paper20abcdeftfdfdChen test paper20abcdeftfdfd
Chen test paper20abcdeftfdfd
 
Unit iv xml
Unit iv xmlUnit iv xml
Unit iv xml
 
Xml
XmlXml
Xml
 
It8074 soa-unit i
It8074 soa-unit iIt8074 soa-unit i
It8074 soa-unit i
 
it8074-soa-uniti-.pdf
it8074-soa-uniti-.pdfit8074-soa-uniti-.pdf
it8074-soa-uniti-.pdf
 
2-DTD.ppt
2-DTD.ppt2-DTD.ppt
2-DTD.ppt
 
DTD
DTDDTD
DTD
 
Document Type Definitions
Document Type DefinitionsDocument Type Definitions
Document Type Definitions
 
It8074 soa-unit i
It8074 soa-unit iIt8074 soa-unit i
It8074 soa-unit i
 
Well Formed XML
Well Formed XMLWell Formed XML
Well Formed XML
 
XXE
XXEXXE
XXE
 
Xxe
XxeXxe
Xxe
 
CIS-189 Final Review
CIS-189 Final ReviewCIS-189 Final Review
CIS-189 Final Review
 
Unit 5 xml (1)
Unit 5   xml (1)Unit 5   xml (1)
Unit 5 xml (1)
 
Document Type Definition
Document Type DefinitionDocument Type Definition
Document Type Definition
 
2 dtd - validating xml documents
2   dtd - validating xml documents2   dtd - validating xml documents
2 dtd - validating xml documents
 
Html5 attributes
Html5  attributesHtml5  attributes
Html5 attributes
 

Mehr von Arduino Aficionado

Mehr von Arduino Aficionado (14)

Netfx4
Netfx4Netfx4
Netfx4
 
Ubunturef
UbunturefUbunturef
Ubunturef
 
Scala cheatsheet
Scala cheatsheetScala cheatsheet
Scala cheatsheet
 
Html xhtml tag-sheet
Html xhtml tag-sheetHtml xhtml tag-sheet
Html xhtml tag-sheet
 
Unix command quickref
Unix command quickrefUnix command quickref
Unix command quickref
 
Ruby on rails_cheat_sheet
Ruby on rails_cheat_sheetRuby on rails_cheat_sheet
Ruby on rails_cheat_sheet
 
Pqrc 2.4-a4-latest
Pqrc 2.4-a4-latestPqrc 2.4-a4-latest
Pqrc 2.4-a4-latest
 
Nmap5.cheatsheet.eng.v1
Nmap5.cheatsheet.eng.v1Nmap5.cheatsheet.eng.v1
Nmap5.cheatsheet.eng.v1
 
Matlab quickref
Matlab quickrefMatlab quickref
Matlab quickref
 
Java quickref
Java quickrefJava quickref
Java quickref
 
Eclipse emacskeybindings 3_1
Eclipse emacskeybindings 3_1Eclipse emacskeybindings 3_1
Eclipse emacskeybindings 3_1
 
Refcard en-a4
Refcard en-a4Refcard en-a4
Refcard en-a4
 
Cpp reference sheet
Cpp reference sheetCpp reference sheet
Cpp reference sheet
 
Core c sharp and .net quick reference
Core c sharp and .net quick referenceCore c sharp and .net quick reference
Core c sharp and .net quick reference
 

KĂŒrzlich hochgeladen

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

KĂŒrzlich hochgeladen (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Xm lquickref

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