Normalizing spaces in glossary hovertip text (webhelp)
Post here questions and problems related to editing and publishing DITA content.
Normalizing spaces in glossary hovertip text (webhelp)
The hovertip text that is created for glossary entries in the webhelp output includes extraneous spaces and returns. I looked in the dita2htmlImpl.xsl file but in spite of finding the template I couldn't figure out where there might be a missing normalize-space.
I'd appreciate your help.
Regards
Rodrik
Code: Select all
<xsl:template match="*[contains(@class, ' topic/term ')]" name="topic.term">
I'd appreciate your help.
Regards
Rodrik
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Normalizing spaces in glossary hovertip text (webhelp)
Post by sorin_ristache »
Hi Rodrik,
In order to remove the spaces from the tooltip text of glossary terms you should add a normalize-space() call on the line 1429 where the XHTML link to the glossary term is created, which means you should replace the line:
with the line:
In order to remove the spaces from the tooltip text of glossary terms you should add a normalize-space() call on the line 1429 where the XHTML link to the glossary term is created, which means you should replace the line:
Code: Select all
<a href="{$updatedTarget}" title="{$hovertext}">
Code: Select all
<a href="{$updatedTarget}" title="{normalize-space($hovertext)}">
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service