Hello, Antti:

I just used the old "force" method and simply put in the italics tag.  See
below:
 <xsl:if test="not(position() = 1)">
        <i>
            <xsl:value-of select="./node()"/>
         </i>
         <xsl:if
test="count(following-sibling::dim:field[@element='title'][not(@qualifier)])
!= 0">
           <xsl:text>; </xsl:text>
           </xsl:if>
   </xsl:if>

The example above puts the italics around the title of a suggested citation
that I am displaying for datasets.
Let me know if you need more information.
George Kozak
Cornell University

On Tue, Nov 1, 2016 at 5:06 AM, Antti Laurila <antti.laur...@gmail.com>
wrote:

> Hello George!
>
> I'm currently trying to figure out the same situation you have solved,
> getting text in italics within a metadata field. I managed to get italics
> to appear in DRI-files (like the news-xmlui.xml), but my implementations
> fail in the item-view.
> I have tried to form the <hi rend="italic"> tag within the metadata in the
> following formats:
> - plain <hi rend="italic">
> - xml entity replacement: &lt;hi rend="italic"&gt;
> - xml numeric replacement &#60;hi rend="italic"&#62;
>
> Is there possibly a trick I have to perform in the item-view.xsl?
>
> Best regards,
> Antti
>
> On Tuesday, July 5, 2016 at 11:02:32 PM UTC+3, George Kozak wrote:
>>
>> Monika:
>>
>> I am using DSpace 5.5 XMLUI (modified Mirage 2) and created a citation to
>> be displayed for datasets (only).  However, one of our librarians is having
>> me tweak the citations, so it is still not totally complete.  If you want
>> to check out what we display, go to: http://hdl.handle.net/1813/42437 or
>> http://hdl.handle.net/1813/11216
>>  The work is done in xsl/aspect/artifactbrowser/itemview.xsl
>>
>> George Kozak
>>
>> Digital Library Specialist
>>
>> Cornell University Library Information Technologies (CUL-IT)
>>
>> 218 Olin Library
>>
>> Cornell University
>>
>> Ithaca, NY 14853
>>
>> 607-255-8924
>>
>> On Tue, Jul 5, 2016 at 10:39 AM, Monika Mevenkamp <mom...@gmail.com>
>> wrote:
>>
>>> We are planning to bring up an DSPACE instance with faculty publications
>>> only. Proper citation information will be useful to have.  Hence the
>>> following questions:
>>>
>>> Did anybody build a an item page enhancement that generates a properly
>>> formatted citation for an article item based on the item’s metadata and
>>> includes that in the item page’s display  ?
>>>
>>> and
>>>
>>> Did anybody build an feature that generates downloadable citations for
>>> Items ?
>>> I am envisioning something along the lines of what you see on publisher
>>> pages - where you choose format such as BibTex, EndNote, RefWorks and a
>>> properly formatted citation is generated
>>>
>>>
>>> Monika
>>>
>>>
>>> ——
>>> Monika Mevenkamp
>>> Digital Repository Infrastructure Developer
>>> Princeton University
>>> Phone: 609-258-4161
>>> Skype: mo-meven
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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 dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> ***************************
>> George Kozak
>> Digital Library Specialist
>> Cornell University Library - IT
>> 218 Olin Library
>> Cornell University
>> Ithaca, NY 14853
>> 607-255-8924
>> gs...@cornell.edu
>>
> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
***************************
George Kozak
Digital Library Specialist
Cornell University Library - IT
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
g...@cornell.edu

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to