Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 20th, 2008, 10:54 AM
Registered User
 
Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page break using page no

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.
 
Old April 20th, 2008, 12:01 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

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

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


 
Old April 20th, 2008, 12:05 PM
Registered User
 
Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
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
 
Old April 20th, 2008, 02:08 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

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 -/
 
Old April 20th, 2008, 02:27 PM
Registered User
 
Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
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,
 
Old April 20th, 2008, 03:31 PM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

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 -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Page break grstad Classic ASP Basics 5 December 31st, 2006 01:27 PM
Page Break Neal Crystal Reports 1 August 31st, 2006 10:33 AM
Page Break Dhawood ASP.NET 2.0 Basics 0 August 8th, 2006 08:02 AM
Page Break chakravarthy_vr Reporting Services 1 June 22nd, 2006 10:16 AM
page break pab006 Classic ASP Basics 12 December 17th, 2003 06:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.