[Logo] Forums for GrailsFlow, Weceem, XSLfast
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Optional title page  XML
Forum Index » XSLfast Forum
Author Message
gmbehr



Joined: 19/05/2010 13:05:00
Messages: 2
Offline

I have 2 title pages (fax cover, statement summary), and a main page. There are times that I need to exclude the fax cover sheet. A switch in the XML will drive this, so ideally I'm using an XSL:IF statement to print that page or not. Can I make that XSL setting in XSLFast? If so how?

If not, is my only solution to hack XSL after XSLFast generates?

Thanks!

George
Victor Krapivin



Joined: 04/06/2009 10:12:44
Messages: 53
Offline

We're sorry IF clause for pages will be available only in next version. But anyway, you can genrate certain pages or not via groupings.

For example, your title page have grouping



So, by adding expression we can manage amount of pages: 0, 1 or more.

For example, grouping (Page grouping -> Filtering tab) like this provides generation of 0 pages or more depending on 'GenerateTitle' node contents.



By replacing this to your real expression, you can generate title page or not.

Best regards,
Victor Krapivin
[WWW]
 
Forum Index » XSLfast Forum
Go to:   
Powered by JForum 2.1.8 © JForum Team