68. selectById

Parameter syntax:

('id' | 'reference' | 'nextReference' | 
'previousReference' | 'swapIdAndReference') S [ id ]?
id

An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects the element having this ID (if found).

reference

An element with an ID attribute must be implicitly or explicitly selected. Scrolls to and selects first element referencing this ID (if found).

nextReference

An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects following element referencing this ID (if found).

previousReference

An element with an IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects preceding element referencing this ID (if found).

swapIdAndReference

An element with an ID, IDREF or IDREFS attribute must be implicitly or explicitly selected. Scrolls to and selects opposite link end (if found).

Notes:

Examples:

selectById swapIdAndReference
selectById id introduction