Talk:PGTEI 0.5
Jump to navigation
Jump to search
<pb /> with ID attributes
I'd like to ask to support IDs of <pb /> elements. At the moment you are forced to enter an <anchor /> with and ID if you want to reference a page.--Keichwa 22:47, 21 October 2007 (PDT)
- The current output is:
<html:span id="page42">[pg 42]</html:span>
. highlander 01:45, 22 October 2007 (PDT)- Ok, I did not know it. But if you write an explicit id in the pb element (<pb id='n042.png' n='42' />) it would be nice if you would keep it that way in the output. I use the filename of the scan as the id, and the filename often does not match the page number. --Keichwa 10:49, 23 October 2007 (PDT)
- O.K. I'll try to keep explicit ids of all TEI elements in the HTML output. But you shouldn't (mis-)use the id for that purpose. We can add an attribute to the <pb> element for expressly this purpose. highlander 05:12, 24 October 2007 (PDT)
- Thanks, but do not forget about the ID attribute, please. I also use it for cross-referencing from other locations within the book (e.g., from index entries).--Keichwa 21:51, 25 October 2007 (PDT)
- Ok, I did not know it. But if you write an explicit id in the pb element (<pb id='n042.png' n='42' />) it would be nice if you would keep it that way in the output. I use the filename of the scan as the id, and the filename often does not match the page number. --Keichwa 10:49, 23 October 2007 (PDT)