That was it! Thank you! You're super awesome! BTW, I worked for Jesuits (at Santa Clara) for 10 years before joining the federal courts. Ad maiorem Dei gloriam! :)
Thanks again! On Tuesday, February 14, 2017 at 4:42:05 PM UTC-8, Terry Brady wrote: > > Try getting rid of the   in the otherwise statement. > > It is possible that is getting triggered by trailing space in your > metadata. > > On Tue, Feb 14, 2017 at 3:26 PM, David Brian Holt <[email protected] > <javascript:>> wrote: > >> OK, I'm making some progress on this. I used a closed <p> tag rather >> than <br> and that seemed to work but I'm still getting an extra space on >> the new line. >> >> Here is what I have right now: >>> >>> >> <xsl:template name="itemSummaryView-DIM-description"> >> <xsl:if test="dim:field[@element='description']"> >> <div class="simple-item-view-description >> item-page-field-wrapper table"> >> >> <h5><i18n:text>xmlui.dri2xhtml.METS-1.0.item-description</i18n:text></h5> >> <xsl:for-each >> select="dim:field[@element='description'][not(@qualifier)]"> >> <xsl:choose> >> <xsl:when test="contains(., '
')"> >> <xsl:value-of >> select="substring-before(., '
')"/> >> <p/> >> <xsl:value-of >> select="substring-after(., '
')"/> >> </xsl:when> >> <xsl:when test="node()"> >> <xsl:copy-of select="node()"/> >> >> </xsl:when> >> <xsl:otherwise> >> <xsl:text> </xsl:text> >> </xsl:otherwise> >> </xsl:choose> >> </xsl:for-each> >> </div> >> </xsl:if> >> </xsl:template> >> >> And this is what it produces: >> >> >> <https://lh3.googleusercontent.com/-bCxhLpqv9AM/WKOSIWkPcGI/AAAAAAAAo-s/Ox7awP2AP9UaEtTAwniTeJ52fYndMETiACLcB/s1600/Extra%2BSpace.png> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "DSpace Technical Support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Terry Brady > Applications Programmer Analyst > Georgetown University Library Information Technology > http://georgetown-university-libraries.github.io/ > <https://www.library.georgetown.edu/lit/code> > 425-298-5498 (Seattle, WA) > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
