xsl-list
[Top] [All Lists]

[xsl] xsl:number

2007-02-13 16:04:16
Hi all,
I am trying to use <xsl:number  format="1"/> in my xslt. It works fine and 
increment when my output is PDF file. But it does not increment for rtf output. 
I am using it while populating list items as follows:

        <fo:list-item>
                <fo:list-item-label start-indent="5mm" end-indent="2mm">
                  <fo:block font-size="11pt" font-family="serif" 
font-weight="bold">
                        <xsl:number  format="1."/>
                  </fo:block>
                </fo:list-item-label>
                <fo:list-item-body start-indent="body-start()">
                  <fo:block font-size="11pt" font-family="serif" 
font-weight="bold">
                        <xsl:value-of select="TITLE"/>
                  </fo:block>
                </fo:list-item-body>
          </fo:list-item>


So for each TITLE, 1 is preceded to that line in case of rtf, but it increments 
for pdf. 
I am using fop-0.92beta for transformation. Any help will be much appreciated.

Thanks,
Navpreet.

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are not,
or believe you may not be, the intended recipient, please advise the sender
immediately by return e-mail, delete this e-mail and destroy any copies.
Tenix does not warrant nor guarantee that this email communication is free
from errors, virus, interception or interference.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] xsl:number, SINGH Navpreet <=