Provides a hook for CSS/JQuery effects to the top level elements in DSpace community lists
✓ Published0🌍 Public
CCliffordAnderson
Last edited Dec 29, 2013
Created on Dec 29, 2013
This example customizes DSpace community-list navigation by assigning CSS class hooks to top-level elements. It uses an XSLT template to match the `dri:referenceSet` hierarchy and iterates over each `dri:reference` node, dynamically pulling metadata from the DSpace REST API via the `document()` function. For each entry, it constructs an HTML `div` with class `artifact-description top-level-nav` and extracts the title and handle from the item’s DIM metadata fields. The code builds a link by concatenating `/xmlui/handle` with the identifier substring, enabling jQuery accordion effects or other CSS interactions on these top-level items.
AI-generated description