logo
MDA < Home 

Map Development Area (MDA)

Location: _/_   markup   _/_   xml   _/_   xpath   _/_   xpath  

Browse Edit Visualize Statistics Download Help
 
XPath 1.0
is part of:
- XQuery [ whole ]
- XSLT [ whole ]
- XPointer [ whole ]
has successor:
- XPath 2.0 [ successor ]
language-defines-concept
- xpath-language-concept [ concept ]
operates on:
- XPath Data Model [ model ]
formal-language
- XPath 1.0
Core XML Technology
- XPath 1.0
Types:
Comment:
formally part of XSLT -- defined 1999, not compatible with DOM, XQuery and XML Schema
example
//Book[contains(title, "Rumsti")]/author[position() = 2]
Comment:
language for addressing parts of an XML document -- declarative node selection language -- read-only (although tools exist to build XML documents via XPath) -- not really a 'retrieval' language like SQL but often also used stand-alone
example
//Book[title = "Rumsti Ramsti"]
data-types
node-set, boolean, number (floating-point), string -- some expression return values, some nodes -- node-sets cannot contain duplicates
example
/BookStore/Book
concepts
data types, location steps, axes, predicates, location paths
example
//Book