Thanks.

If I copy the whole     <xsl:template name="opf.spine"> into
customization layer and substitute the code, I get the same result.
YES.

However, if I change        <xsl:text>yes </xsl:text> to  <xsl:text>no
</xsl:text> (so both options say "No") then  I see the linear="no" in
the output content.opf.

for some reason that test is not working right. It's being caught at
the top without going to the otherwise.

Robert

On Sun, Apr 10, 2011 at 11:10 AM, Keith Fahlgren <[email protected]> wrote:
> On Sun, Apr 10, 2011 at 1:39 AM, Robert Nagle <[email protected]> 
> wrote:
>> I would assume that for epub.cover.linear, if the value is 0, then
>> linear is supposed to be "no". But by default it seems to show a yes
>> value in my output. If I change the parameter to   <xsl:param
>> name="epub.cover.linear" select="1" /> I get the exact same result.
>>
>> Is this a bug?
>
> Yes, try
>
>
>
>          <xsl:choose>
>            <xsl:when test="$epub.cover.linear != 0">
>              <xsl:text>yes</xsl:text>
>            </xsl:when>
>            <xsl:otherwise>no</xsl:otherwise>
>          </xsl:choose>
>



-- 
Robert Nagle
12777 Ashford Point Dr #1417
Houston, Texas 77082
713 893 3424
http://www.robertnagle.info

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to