Please enable JavaScript.
Coggle requires JavaScript to display documents.
XPath (Function interessanti (Booleans (not, true, False), count(),…
XPath
Function interessanti
count()
position()
$exp1
except
$exp2
$exp1
intersect
$exp2
Booleans
not
true
False
contains()
exist
following-siblings::percorso[predicate]
NODI
Tipi
Attributi
Testo
namespace
Processing-instruction
commenti
document nodes
Elementi
Atomic values sono nodi senza children or parent
Relazioni tra i nodi
Parent
Children
Siblings
Ancestor
Descendants
SINTAX
Espressioni
nodename
/ (root)
// (current node that match selection)
. (current node)
.. (parent of current)
@ (attribute)
Path expression
/aaaaa parto da root
aaaa tutti nodi aaaa
aaaa/bbbb
//aaaa (tutti nodi aaaa)
aaaa//bbbb
//@id
tutti nodi con attributo id
Predicate
/bookstore/book[1] seleziona libro 1
/bookstore/book[last()] seleziona primo libro
Serve a navigare all'interno di file XML
Considera i file ordinati in una struttura albero, in cui ogni punto è un nodo del documento