Working on the display of text groups
The editorial team has decided that the 1609 Sonnet document is actually a composite document containing two texts. This means it needs to be marked up in a more complex structure than the rest of our texts:
TEI teiHeader (header for the whole document) text (container text) front (frontispiece for main document) group (group element which contains constituent texts) text (first constituent text: Satire Menipée) front (first text frontispiece) body (first text body) text (second constituent text: Thimithélie) front (second text frontispiece) body (second text body) back (back matter containing references, created by XQuery)
This requires a rewrite of the XQuery and the XSLT that processes documents, because they're not expecting this complex structure. I've rewritten the XQuery successfully, so the complete XML with references is being retrieved; I've edited LSPW's source document to add the rendition="#layoutDesc" attribute to both of the constituent texts; and I've confirmed that rendering works OK on my local copy of the db. However, I'm now struggling with a validation issue caused by the need to number each reference link in the text. These get unique ids created by counting the preceding ref elements with the same target. However, in this structure, the preceding:: axis doesn't seem to be working properly, so I'm getting lots of duplicate ids in the output. Still puzzling over this.