Tredicesimo esercizio
Scoprire cosa significano i seguenti XPath:
- TITOLO
- CAPITOLO/TITOLO
- CAPITOLO//TITOLO
- //NOME
- position() = last()
Altri esempi discussi a lezione (25/5):
* CAPITOLO[2]/TITOLO
* CAPITOLO/TITOLO[2]
* CAPITOLO/TITOLO[position() != last()]
* CAPITOLO[position() != last()]/TITOLO
* CAPITOLO/TITOLO[position() = last()]
Restano da discutere:
- ../@ID
- generate-id()
- .
- not(.=preceding::NOME)
--
FabioVitali - 24 May 2010
- Set ALLOWTOPICVIEW =
- Set ALLOWTOPICCHANGE =
to top