2013-11-21
This slide set builds on the previous XSLT tutorials by discussing XPath, which is a way of navigating an XML tree. It is particularly important for XSLT and publication because it allows the selection of specific elements depending on their context. So, for example, perhaps you want to render “quote” differently when it comes up in “epigraph” than when it occurs in “p.” XPath allows you to specify context for a given element, which makes transformations more nuanced.