SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Dynamic memory allocation in c++
Dynamic memory allocation in c++Dynamic memory allocation in c++
Dynamic memory allocation in c++
Tech_MX
 
Xml query language and navigation
Xml query language and navigationXml query language and navigation
Xml query language and navigation
Raghu nath
 

La actualidad más candente (20)

Java threading
Java threadingJava threading
Java threading
 
Database programming
Database programmingDatabase programming
Database programming
 
Xml parsing
Xml parsingXml parsing
Xml parsing
 
Ch 7 data binding
Ch 7 data bindingCh 7 data binding
Ch 7 data binding
 
CORBA
CORBACORBA
CORBA
 
Organized and disorganized complexity
Organized and disorganized complexityOrganized and disorganized complexity
Organized and disorganized complexity
 
Analysis modelling
Analysis modellingAnalysis modelling
Analysis modelling
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Dynamic memory allocation in c++
Dynamic memory allocation in c++Dynamic memory allocation in c++
Dynamic memory allocation in c++
 
HTML frames and HTML forms
HTML frames and HTML formsHTML frames and HTML forms
HTML frames and HTML forms
 
Pointers,virtual functions and polymorphism cpp
Pointers,virtual functions and polymorphism cppPointers,virtual functions and polymorphism cpp
Pointers,virtual functions and polymorphism cpp
 
Corba
CorbaCorba
Corba
 
Xml query language and navigation
Xml query language and navigationXml query language and navigation
Xml query language and navigation
 
Finalize() method
Finalize() methodFinalize() method
Finalize() method
 
File and directories in python
File and directories in pythonFile and directories in python
File and directories in python
 
Ipv6 packet fomat
Ipv6  packet fomatIpv6  packet fomat
Ipv6 packet fomat
 
XML Document Object Model (DOM)
XML Document Object Model (DOM)XML Document Object Model (DOM)
XML Document Object Model (DOM)
 
WebServices SOAP WSDL and UDDI
WebServices SOAP WSDL and UDDIWebServices SOAP WSDL and UDDI
WebServices SOAP WSDL and UDDI
 
Tutorial on dhcp
Tutorial on dhcp Tutorial on dhcp
Tutorial on dhcp
 

Similar a X FILES

Similar a 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
 
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
 
XPATH_XSLT-1.pptx
XPATH_XSLT-1.pptxXPATH_XSLT-1.pptx
XPATH_XSLT-1.pptx
 

Más de SaraswathiRamalingam

Más de 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
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
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
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
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
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.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
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
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
 
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
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 

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