|
Linking segs and interps: Some attributes take special values: ID: a unique value, which identifies one particular element in your xml file.<seg>'s are linked to <interp>'s through ID and IDREF attribute values. The "id" attribute on the <interp>s takes an ID value, and the "ana" attibute on <seg>s takes an IDREF. Example: In the main body of the text: <seg type="Love Theme" ana="QuietLove">READER, I married him. A quiet wedding we had: he and I, the parson and clerk, were alone present.</seg> When we got back from church, I went into the kitchen of the manor-house, where Mary was cooking the dinner, and John cleaning the knives, and I said --In the back matter: <interpGrp type="Love Theme" resp="Scott Hamlin"><interp id="QuietLove" value="quiet intimate love"/></interpGrp> |