Subject: Page break using page no
Posted By: redro Post Date: 4/20/2008 10:54:39 AM
Hi All,

I want page break when no of recoreds on the page reached 15.

FYI..

I am using SXL:FO and pdf output.

Could any one can post the code regarding this.

Thanks,

James.
Reply By: bonekrusher Reply Date: 4/20/2008 12:01:06 PM
There is a really good forum (email list) for XSL-FO.

http://www.nabble.com/FOP-f309.html


Reply By: redro Reply Date: 4/20/2008 12:05:53 PM
quote:
Originally posted by bonekrusher

There is a really good forum (email list) for XSL-FO.

http://www.nabble.com/FOP-f309.html






Hi bonekrusher,

As per my analysis we need to make a condition in XSL.

Could you please have a look at it.

Thanks,
James
Reply By: samjudson Reply Date: 4/20/2008 2:08:20 PM
What you need to do is output something in XSL-FO. What that is we have no idea, but if you ever find out feel free to come back and we'll help you integrate it into your XSLT stylesheet.

Thenyou can explain what your input XML looks like, what your output XML (i.e. the XSL-FO) should look like and what you have tried in your XSLT stylesheet.

Then we might be able to help.

/- Sam Judson : Wrox Technical Editor -/
Reply By: redro Reply Date: 4/20/2008 2:27:23 PM
quote:
Originally posted by samjudson

What you need to do is output something in XSL-FO. What that is we have no idea, but if you ever find out feel free to come back and we'll help you integrate it into your XSLT stylesheet.

Thenyou can explain what your input XML looks like, what your output XML (i.e. the XSL-FO) should look like and what you have tried in your XSLT stylesheet.

Then we might be able to help.

/- Sam Judson : Wrox Technical Editor -/



Hi Judson,

My xml consists of no of child tags, it means these are all the no rows in the table which we mentioned in the xsl. so i need to count the no of chailds.

Hope you got it.
Pls help me.
Thanks,
Reply By: samjudson Reply Date: 4/20/2008 3:31:04 PM
If you want to count the number of elements in a set then use the count() function.

If you want to find the current position of the context node in the current set of nodes being processed then use the position() function.

/- Sam Judson : Wrox Technical Editor -/

Go to topic 70751

Return to index page 1