Copyright 2013 Syd Bauman, David Birnbaum, Julia Flanders, and Martin Holmes
This TEI-encoded XML file is available under the terms of the Creative Commons Attribution-ShareAlike 3.0 (Unported) license.
Born digital
/TEI/text/body/div
means all the.div nodes which are children ofbody
/TEI/text/body/div[@type='chapter']
means
only those.div nodes which are children ofbody and also have a type attribute with the value chapter
Scene.
Using the
http://web.uvic.ca/~mholmes/dhoxss2013/examples/places.xml
and
the XPath console in oXygen, find the following
information:
Using the
The following examples work on the Hamlet XML file here: http://web.uvic.ca/~mholmes/dhoxss2013/examples/hamlet.xml
following::
axis and the not()
function, or you could use a long path with several instances of position()=last()
.The Hamlet file actually has lots of
Using the
[parent::listBibl]
predicate, we will be counting bibl elements which appear
outside the bibliography list, in the body of the
explanatory text.