Due to enormous amounts of spam, the forum has been set to read-only mode.



Reply to topic  [ 3 posts ] 
Suppress Zero in Explorer view 
Author Message

Joined: Wed Apr 26, 2006 6:03 pm
Posts: 19
Post Suppress Zero in Explorer view

Hi,

I have integrated some numeric fields in my BookList template (Release No & Original Release No)

How can I use the function Suppress Zero in the Explorer view?

Thanks in advance for any help

_________________
Yo vivo de preguntar, saber no puede ser lujo.
(Silvio Rodríguez)


Sat Jul 07, 2012 11:22 pm
Profile
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: Suppress Zero in Explorer view

salsa wrote:
Hi,

I have integrated some numeric fields in my BookList template (Release No & Original Release No)

How can I use the function Suppress Zero in the Explorer view?

Thanks in advance for any help

You need to use "xsl:if". Take a look at the code to display Release No in Book.xsl as an example:

Code:
<xsl:if test="releaseno/@unformatted!=0">
<tr>
<td class="record_table_fieldname" nowrap=""><xsl:value-of select="/data/fld/book/releaseno/@name"/></td>
  <td class="record_table_fieldvalue"><xsl:value-of select="releaseno"/>
</td>
</tr>
</xsl:if>

_________________
Fredrik Nordbakke
www.fnprg.com


Mon Jul 09, 2012 10:14 am
Profile WWW

Joined: Wed Apr 26, 2006 6:03 pm
Posts: 19
Post Re: Suppress Zero in Explorer view

I'll try with this.

Many thanks

_________________
Yo vivo de preguntar, saber no puede ser lujo.
(Silvio Rodríguez)


Wed Jul 11, 2012 11:11 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.