14
ID generation is a core function of any digital content production system. IDs can be generated by document or section and stripped if required. Updated: 2012-09-09
ID Generation is the core processing instruction that must be run before most other processors are used.
It is simple to use and can be used at any time. ID's are generated automatically during format generation, but during production, many content processes may depend on IDs being in place before they are run.
Examples of ID dependent processors are TOC and Lists-of generation, intersection linking and end-note processing.
DP has two ID generation options. Document IDs and Section IDs. These are mutually exclusive and designed for specific types of content. You must select the correct strategy for the document on which you are working.
Generally Document ID generation is the correct option for all documents except for those where the sections may be used as highly independent content with a lot of interactive components.
Once you have used Document ID's or SectionIDs the other option is not available unless you stripe IDs.
IDs have been radically simplified from 2012-09-01. Previously IDs were efffectively UUIDs which made them unique in the Universe. Now they are terse and semantic.
The reason for this change is because interactive and fixed layout content requires more engagement with the ID structures for CSS presentation and styling operations.
The IDs are now intuitive, easy to remember and use. For example Chapter IDs start at #Chapter1 and match the number of chapters in a book. Likewise paragraphs start at #p1 and increase linearly through the book.
WARNING. Do not use the Strip ID button carelessly or on a collaborated document. It can destroy other peoples work where IDs matter such as in custom CSS styling.
ID's must be exclusive throughout the document for inter-section Hyperlinking to work and for the main FX file to be valid XHTML5. Generate IDs in the following circumstances:
Click the Document ID button and wait for the dialog to inform you that processing is complete. The larger and more complex your document, the longer ID generation will take but it is usually just a few seconds.
Once generated an ID is never replaced unless it is stripped or removed with the Block Control ID editor. This is to ensure internal document links are maintained.
If you are using Document IDs, each time you click the Document IDs button the processor does the following:
If you are using Section IDs each time you click the Section IDs button the processor does the following:
This is a technical issue for a template editor or maintainer.
IGP:Digital Publisher processes the FX document with comprehensive IDs. There is a controlled list of elements and FX selectors that don't have IDs applied. These are controlled from the Master Template configuration in Maintenance. These are listed here as an example of ID generation control and may be different in your installation.
;ID GENERATION SETUP STARTS HERE
;List of tags to be excluded during id generation
[Excluded Tags]
tags: a, b, br, caption, col, colgroup, em, hr, i, img, object, pre, strong, span, sub, sup, tbody, td, th, thead, tfoot, tr, circle, defs, desc, ellipse, g, image, line, linearGradient, metadata, path, polyline, polygon, stop, strong, style, svg, switch, symbol, text, tref, tspan, title, use, math, maction , menclose, merror, mfenced, mfrac, mi, mmultiscripts, mn, mo, mover, mpadded, mphantom, mroot, mrow, ms, mspace, msqrt, mstyle, msub, msup, msubsup, mtable, mtd, mtext, mtr, munder, munderover, mlabeledtr, maligngroup, malignmark, mstack, mlongdiv, msgroup, msrow, mscarries, mscarry, msline, cn, ci, csymbol, cs, apply, bind, bvar, share
;Define the list of (span) classes that need to be included in ID generation
[Exception Classes]