Bug 719458 - xsl variable $pop_name contains underscores
Summary: xsl variable $pop_name contains underscores
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-06 23:22 UTC by Ryan Lerch
Modified: 2011-07-07 03:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-07 03:00:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Ryan Lerch 2011-07-06 23:22:26 UTC
I am trying to use the following in a custom brand:
<xsl:value-of select="$pop_name"/>

to display the name of a document in a custom header. However, the value that is returned contains underscores ("_") instead of spaces.

Comment 1 Jeff Fearn 🐞 2011-07-07 03:00:50 UTC
This can be done in XSL:
- <xsl:value-of select="$pop_name"/>
+ <xsl:value-of select='translate($pop_name, "_", " ")'/>


Note You need to log in before you can comment on or make changes to this bug.