Bug 719458

Summary: xsl variable $pop_name contains underscores
Product: [Community] Publican Reporter: Ryan Lerch <rlerch>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED NOTABUG QA Contact: Ruediger Landmann <rlandman+disabled>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.5CC: mmcallis, publican-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-06 23:00:50 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ryan Lerch 2011-07-06 19:22:26 EDT
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-06 23:00:50 EDT
This can be done in XSL:
- <xsl:value-of select="$pop_name"/>
+ <xsl:value-of select='translate($pop_name, "_", " ")'/>