SlideShare ist ein Scribd-Unternehmen logo
1 von 19
X-FILES
XPath
• The XML Path Language (XPath) is a
standard for creating expressions that can be
used to find specific pieces of information
within an XML document.
• XPath expressions are used by both XSLT (for
which XPath provides the core functionality)
and XPointer to locate a set of nodes.
• To understand how XPath works, it helps to
imagine an XML document as a tree of nodes
consisting of both elements and attributes.
XPath
• XPath expressions have the ability to locate nodes
based on the nodes’ type, name, or value or by the
relationship of the nodes to other nodes within the
XML document.
• In addition to being able to find nodes based on
these criteria, an XPath expression can also return
any of the following:
– A node set
– A Boolean value
– A string value
– A numeric value
Operators and Special Characters
Operators Special Characters Description
/ Selects the children from the node
set on the left side of this
character.
// Specifies that the matching node
set should be located at any level
within the XML document
Operators and Special
Characters
. Specifies the current context should be used
* A wildcard character that selects all elements
or attributes regardless of name
@ Selects an attribute
: Namespace separator
() Indicates a grouping within an XPath
expression
[expression] Indicates a filter expression
[n] Indicates that the node with the
specified index should be selected
+ Addition operator
- Subtraction operator
div Division operator
* Multiplication operator
XPath
• The priority for evaluating XPath expressions is as
follows:
1. Grouping
2. Filters
3. Path operations
XPath Syntax
• The XML Path Language provides a declarative
notation, termed a pattern, used to select the
desired set of nodes from XML documents.
• Each step is further comprised of three pieces:
– An axis
– A node test
– A predicate
XPath Syntax
• the basic syntax
axis::node test[predicate]
• Using this basic syntax and the XML document in
Listing 5.1, we could locate all the <c> nodes by
using the following XPath expression:
/a/b/child::*
• Alternatively, we could issue the following
abbreviated version of the preceding expression:
/a/b/c
Axes
• The axis portion of the location step identifies the
hierarchical relationship for the desired nodes from the
current context.
• Axis Description ancestor Specifies that the query
should locate the ancestors of the current context node,
which includes the parent node, the parent’s parent
node, and ultimately the root node.
• ancestor-or-self Indicates that in addition to the
ancestors of the current context node, the context node
should also be included in the resulting node set.
• attribute Specifies that the attributes of the current
context node are desired.
• child Specifies that the immediate children of the
current context node are desired.
• descendant Specifies that in addition to the
immediate children of the current context node, the
children’s children are also desired.
Sample1.xml Contains a Simple XML
Document
<a>
<b>
<c d=”Attrib 1”>Text 1</c>
<c d=”Attrib 2”>Text 2</c>
<c d=”Attrib 3”>Text 3</c>
</b>
<b>
<c d=”Attrib 4”>Text 4</c>
<c d=”Attrib 5”>Text 5</c>
</b>
<b>
<c d=”Attrib 6”>Text 6</c>
<c d=”Attrib 7”>Text 7</c>
<c d=”Attrib 8”>Text 8</c>
<c d=”Attrib 9”>Text 9</c>
</b>
<b>
<c d=”Attrib 10”>Text 10</c>
<c d=”Attrib 11”>Text 11</c>
<c d=”Attrib 12”>Text 12</c>
</b>
Node Tests
• The node test portion of a location step indicates
the type of node desired for the results.
• A node test may also contain a node name, or
QName.
Predicates
• The predicate portion of a location step filters a
node set on the specified axis to create a new node
set.
• Each node in the preliminary node set is evaluated
against the predicate to see whether it matches the
filter criteria.
• A predicate may consist of a filter condition that is
applied to an axis that either directs the condition
in a forward or reverse direction.
XPath Functions
• XPath functions are used to evaluate XPath
expressions and can be divided into one of four
main groups:
– Boolean
– Node set
– Number
– String
XPointer
• An XPointer uses location steps the same as XPath
but with two major differences:
• Because an Xpointer describes a location within an
external document, an XPointer can target a point
within that XML document or a range within the
target XML document.
Some XPointer Functions That
Return Location Sets
• Function Description
• id() Selects all nodes with the
specified ID
• root() Selects the root element as
the only location in a
location set
• here() Selects the current element
location in a location set
• origin() Selects the current element
location for a node using an
out-of-line link
Points
• Many times a link from one XML document into
another must locate a specific point within the
target document.
• XPointer points solve this problem for XML
developers by allowing a context node to be
specified and an index position indicating how far
from the context node the desired point is.
• Two different types of points can be represented
using XPointer points:
– Node points
– Character points
XLink
• The XML Linking Language, XLink, addresses and
overcomes these limitations by allowing a link to
another document to be specified on any element
within an XML document.
• The XML Linking Language creates a link to
another resource through the use of attributes
specified on elements, not through the actual
elements themselves.
XLink
• The xlink:type attribute must contain one of the
following values:
– simple
– extended
– locator
– arc
– resource
– title
– none

Weitere ähnliche Inhalte

Was ist angesagt?

Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating Systems
Nitish Gulati
 
12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS
koolkampus
 

Was ist angesagt? (20)

Compiler Design Unit 4
Compiler Design Unit 4Compiler Design Unit 4
Compiler Design Unit 4
 
DTD
DTDDTD
DTD
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating Systems
 
DDL And DML
DDL And DMLDDL And DML
DDL And DML
 
Integrity constraints in dbms
Integrity constraints in dbmsIntegrity constraints in dbms
Integrity constraints in dbms
 
Transaction management DBMS
Transaction  management DBMSTransaction  management DBMS
Transaction management DBMS
 
Indexing and Hashing
Indexing and HashingIndexing and Hashing
Indexing and Hashing
 
Xml namespace
Xml namespaceXml namespace
Xml namespace
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
 
PPL, OQL & oodbms
PPL, OQL & oodbmsPPL, OQL & oodbms
PPL, OQL & oodbms
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
 
XML Document Object Model (DOM)
XML Document Object Model (DOM)XML Document Object Model (DOM)
XML Document Object Model (DOM)
 
Xml schema
Xml schemaXml schema
Xml schema
 
Corba concepts & corba architecture
Corba concepts & corba architectureCorba concepts & corba architecture
Corba concepts & corba architecture
 
12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS
 
Class based modeling
Class based modelingClass based modeling
Class based modeling
 
Priority Queue in Data Structure
Priority Queue in Data StructurePriority Queue in Data Structure
Priority Queue in Data Structure
 

Ähnlich wie X FILES

Xml query language and navigation
Xml query language and navigationXml query language and navigation
Xml query language and navigation
Raghu nath
 

Ähnlich wie X FILES (20)

Xpath.pdf
Xpath.pdfXpath.pdf
Xpath.pdf
 
02_Xpath.pdf
02_Xpath.pdf02_Xpath.pdf
02_Xpath.pdf
 
XPATH
XPATHXPATH
XPATH
 
Xpath presentation
Xpath presentationXpath presentation
Xpath presentation
 
XML Technologies
XML TechnologiesXML Technologies
XML Technologies
 
Day2 xslt x_path_xquery
Day2 xslt x_path_xqueryDay2 xslt x_path_xquery
Day2 xslt x_path_xquery
 
Xml query language and navigation
Xml query language and navigationXml query language and navigation
Xml query language and navigation
 
Xpath
XpathXpath
Xpath
 
X path
X pathX path
X path
 
X path
X pathX path
X path
 
Xpath.ppt
Xpath.pptXpath.ppt
Xpath.ppt
 
03 x files
03 x files03 x files
03 x files
 
Xpath1
Xpath1Xpath1
Xpath1
 
Xml session
Xml sessionXml session
Xml session
 
Ch2 neworder
Ch2 neworderCh2 neworder
Ch2 neworder
 
Extracting data from xml
Extracting data from xmlExtracting data from xml
Extracting data from xml
 
Advance topics of C language
Advance  topics of C languageAdvance  topics of C language
Advance topics of C language
 
098ca session7 c++
098ca session7 c++098ca session7 c++
098ca session7 c++
 
XML(EXtensible Markup Language). XML(EXtensible Markup Language).pptppt
XML(EXtensible Markup Language). XML(EXtensible Markup Language).pptpptXML(EXtensible Markup Language). XML(EXtensible Markup Language).pptppt
XML(EXtensible Markup Language). XML(EXtensible Markup Language).pptppt
 
Xml and DTD's
Xml and DTD'sXml and DTD's
Xml and DTD's
 

Mehr von SaraswathiRamalingam

Mehr von SaraswathiRamalingam (20)

MACINTOSH
MACINTOSHMACINTOSH
MACINTOSH
 
XSL - XML STYLE SHEET
XSL - XML STYLE SHEETXSL - XML STYLE SHEET
XSL - XML STYLE SHEET
 
XML - SAX
XML - SAXXML - SAX
XML - SAX
 
DOM-XML
DOM-XMLDOM-XML
DOM-XML
 
XML SCHEMAS
XML SCHEMASXML SCHEMAS
XML SCHEMAS
 
XML
XMLXML
XML
 
XML DTD DOCUMENT TYPE DEFINITION
XML DTD DOCUMENT TYPE DEFINITIONXML DTD DOCUMENT TYPE DEFINITION
XML DTD DOCUMENT TYPE DEFINITION
 
Georg scheutz - Charles babbage - Saraswathi Ramalingam
Georg scheutz - Charles babbage - Saraswathi RamalingamGeorg scheutz - Charles babbage - Saraswathi Ramalingam
Georg scheutz - Charles babbage - Saraswathi Ramalingam
 
Dennis ritchie - SARASWATHI RAMALINGAM
Dennis ritchie - SARASWATHI RAMALINGAMDennis ritchie - SARASWATHI RAMALINGAM
Dennis ritchie - SARASWATHI RAMALINGAM
 
Arithmetic expression INFIX TO POSTFIX CONVERTION saraswathi ramalingam
Arithmetic expression INFIX TO POSTFIX CONVERTION saraswathi ramalingamArithmetic expression INFIX TO POSTFIX CONVERTION saraswathi ramalingam
Arithmetic expression INFIX TO POSTFIX CONVERTION saraswathi ramalingam
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAMPROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
PROGRAMMING USING C# .NET - SARASWATHI RAMALINGAM
 
LAB PROGRAMS SARASWATHI RAMALINGAM
LAB PROGRAMS SARASWATHI RAMALINGAMLAB PROGRAMS SARASWATHI RAMALINGAM
LAB PROGRAMS SARASWATHI RAMALINGAM
 
C PROGRAMS - SARASWATHI RAMALINGAM
C PROGRAMS - SARASWATHI RAMALINGAMC PROGRAMS - SARASWATHI RAMALINGAM
C PROGRAMS - SARASWATHI RAMALINGAM
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Kürzlich hochgeladen (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

X FILES

  • 2. XPath • The XML Path Language (XPath) is a standard for creating expressions that can be used to find specific pieces of information within an XML document. • XPath expressions are used by both XSLT (for which XPath provides the core functionality) and XPointer to locate a set of nodes. • To understand how XPath works, it helps to imagine an XML document as a tree of nodes consisting of both elements and attributes.
  • 3. XPath • XPath expressions have the ability to locate nodes based on the nodes’ type, name, or value or by the relationship of the nodes to other nodes within the XML document. • In addition to being able to find nodes based on these criteria, an XPath expression can also return any of the following: – A node set – A Boolean value – A string value – A numeric value
  • 4. Operators and Special Characters Operators Special Characters Description / Selects the children from the node set on the left side of this character. // Specifies that the matching node set should be located at any level within the XML document
  • 5. Operators and Special Characters . Specifies the current context should be used * A wildcard character that selects all elements or attributes regardless of name @ Selects an attribute : Namespace separator () Indicates a grouping within an XPath expression [expression] Indicates a filter expression [n] Indicates that the node with the specified index should be selected + Addition operator - Subtraction operator div Division operator * Multiplication operator
  • 6. XPath • The priority for evaluating XPath expressions is as follows: 1. Grouping 2. Filters 3. Path operations
  • 7. XPath Syntax • The XML Path Language provides a declarative notation, termed a pattern, used to select the desired set of nodes from XML documents. • Each step is further comprised of three pieces: – An axis – A node test – A predicate
  • 8. XPath Syntax • the basic syntax axis::node test[predicate] • Using this basic syntax and the XML document in Listing 5.1, we could locate all the <c> nodes by using the following XPath expression: /a/b/child::* • Alternatively, we could issue the following abbreviated version of the preceding expression: /a/b/c
  • 9. Axes • The axis portion of the location step identifies the hierarchical relationship for the desired nodes from the current context. • Axis Description ancestor Specifies that the query should locate the ancestors of the current context node, which includes the parent node, the parent’s parent node, and ultimately the root node. • ancestor-or-self Indicates that in addition to the ancestors of the current context node, the context node should also be included in the resulting node set.
  • 10. • attribute Specifies that the attributes of the current context node are desired. • child Specifies that the immediate children of the current context node are desired. • descendant Specifies that in addition to the immediate children of the current context node, the children’s children are also desired.
  • 11. Sample1.xml Contains a Simple XML Document <a> <b> <c d=”Attrib 1”>Text 1</c> <c d=”Attrib 2”>Text 2</c> <c d=”Attrib 3”>Text 3</c> </b> <b> <c d=”Attrib 4”>Text 4</c> <c d=”Attrib 5”>Text 5</c> </b> <b> <c d=”Attrib 6”>Text 6</c> <c d=”Attrib 7”>Text 7</c> <c d=”Attrib 8”>Text 8</c> <c d=”Attrib 9”>Text 9</c> </b> <b> <c d=”Attrib 10”>Text 10</c> <c d=”Attrib 11”>Text 11</c> <c d=”Attrib 12”>Text 12</c> </b>
  • 12. Node Tests • The node test portion of a location step indicates the type of node desired for the results. • A node test may also contain a node name, or QName.
  • 13. Predicates • The predicate portion of a location step filters a node set on the specified axis to create a new node set. • Each node in the preliminary node set is evaluated against the predicate to see whether it matches the filter criteria. • A predicate may consist of a filter condition that is applied to an axis that either directs the condition in a forward or reverse direction.
  • 14. XPath Functions • XPath functions are used to evaluate XPath expressions and can be divided into one of four main groups: – Boolean – Node set – Number – String
  • 15. XPointer • An XPointer uses location steps the same as XPath but with two major differences: • Because an Xpointer describes a location within an external document, an XPointer can target a point within that XML document or a range within the target XML document.
  • 16. Some XPointer Functions That Return Location Sets • Function Description • id() Selects all nodes with the specified ID • root() Selects the root element as the only location in a location set • here() Selects the current element location in a location set • origin() Selects the current element location for a node using an out-of-line link
  • 17. Points • Many times a link from one XML document into another must locate a specific point within the target document. • XPointer points solve this problem for XML developers by allowing a context node to be specified and an index position indicating how far from the context node the desired point is. • Two different types of points can be represented using XPointer points: – Node points – Character points
  • 18. XLink • The XML Linking Language, XLink, addresses and overcomes these limitations by allowing a link to another document to be specified on any element within an XML document. • The XML Linking Language creates a link to another resource through the use of attributes specified on elements, not through the actual elements themselves.
  • 19. XLink • The xlink:type attribute must contain one of the following values: – simple – extended – locator – arc – resource – title – none