[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:number

Subject: xsl:number
From: "SINGH Navpreet" <Navpreet.SINGH@xxxxxxxxx>
Date: Wed, 14 Feb 2007 10:03:30 +1100
 xsl:number
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.

Current Thread
  • xsl:number
    • SINGH Navpreet - 13 Feb 2007 23:04:20 -0000 <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.