A few of the collection and community fields support html fragments. The title appears in many places, and I suspect that an html entity in the title will be tricky to manage across the repository.
Is there a unicode character available to use in place of the entity? On Mon, Jul 27, 2015 at 11:42 PM, euler <[email protected]> wrote: > Dear All, > > I'm working on a repository where collection titles have an html entity. > How > can I render them in all instances where the collection title appears? So > far I have only managed to render the title properly in the > collection-list.xsl by adding disable-output-escaping="yes" in > > <xsl:template name="collectionDetailList-DIM"> > <xsl:variable name="data" > select="./mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim"/> > <{@OBJID}> <xsl:choose> > <xsl:when > test="string-length($data/dim:field[@element='title'][1]) > 0"> > <xsl:value-of > select="$data/dim:field[@element='title'][1]" > disable-output-escaping="yes"/> > </xsl:when> > <xsl:otherwise> > > <i18n:text>xmlui.dri2xhtml.METS-1.0.no-title</i18n:text> > </xsl:otherwise> > </xsl:choose> > > > Can I use template match here? Is there a more elegant and efficient way to > do this such that all instances of collection titles will render correctly > (eg in trail, in the owning collection of the item, community-list, etc.) > > Thanks in advance and best regards, > euler > > > > -- > View this message in context: > http://dspace.2283337.n4.nabble.com/disable-output-escaping-collection-titles-tp4678953.html > Sent from the DSpace - Tech mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA)
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

