|
Appendix 2: XPath Primer
XPath is the set of rules by which literally any
level—even a word or letter—of a text may be accessed by and XSLT
template command.
If you are familiar with the old days of DOS, this will be
easier to pick up. If not, do not be dismayed, I've designed the sample so you
can just change the names of tags and words sought to still use this tool and
learn as you go (again, I encourage readers to discuss this on the lists for
everyone's benefit—no matter what level of knowledge with which you
begin). In DOS—as on every computer—the basic organization of your
files is according to folders or directories. Just like in a file cabinet, a
folder contains various papers. Think of your hard drive as a file cabinet,
with each drawer being a set of folders. On a Windows machine, think of the "My
Documents" folder. In it you may have sub-folders and in those you have
distributed all your various files.
[This is a preview of the full page; if you are a member of the Asiatica Association and have access to the IJTS,
please login using the box on the left menu; non members: please become a member to support the Asiatica Association, and get full access to our publications.]
|