| Author |
Message |
|
|
Hi Victor,
Thanks. My understanding is: what I want to accomplish is currently not possible with xslfast unfortunately, and there are no work-arounds (your suggestion will not work, since I cannot change the logical sequence of items).
Maybe "attributes on page sequences" can be added to your development plan?
|
 |
|
|
Hi there,
Thanks for the response.
I seem not to to be able to be using tables, since I also need "span="all"" for some tables that then have to be nested in the table you suggest. And span="all" only works on fo:blocks that are a direct descendant of fo:flow. When I use a table this messes up the simple sequence of fo-blocks. In any case, I have not been able to use a table that flows in 2 columns, contains both text and tables, with the tables having a span="all". The tables will use the two columns, but the text in the second column will flow right through the table.
Any ideas on this?
|
 |
|
|
Hi Victor, that's quick, thanks!
However, I am looking for a way to mix the two page types without knowing a) how many chapters will be needed and b) which will need the one-column layout and which the two-column. The XML is constructed dynamically, and the user may make a choice for each chapter. The choice is stored in an attribute of the chapter node. So basically I have an unknown number of chapter nodes, each with an attribute that says which layout to use. And I cannot use multilayout manager for this, the XML is delivered to a service that uses the XSL to generate XSL-FO and then call FOP.
Is there any way I can do such a thing with XSLFast? I've done it before with another tool, but it was a bit complicated. All possible page layouts were available, and for each chapter I went through all of them and the one that matched the chapter attribute that specified the layout was used for that chapter. Is any such thing possible in your tool also?
Thanks!
|
 |
|
|
Hi there,
I have the following issue.
I have a 2-column layout.
The content does not fully fit on one page. I have a few lines on the next page.
These few line are spread evenly over the 2 columns.
After these few columns, a new page starts.
So I end up with an almost empty page, 2 lines on the left and 1 on the right.
Is there any way to prevent this behaviour? I would like the content to stay in the left column, but it probably wont do so because there is a page break just beneath the content.
Thanks for a response!
|
 |
|
|
Hi there,
Thanks a lot for the response on my previous question, it fixed the thing! Now i've got a new question.
I need to make a layout which consists of both pages with no column and pages with 2 columns. The first one is needed for short chapters (mostly 1-page) with not a lot of content, the second we will use for larger chapters with lots of content. Which layout should be used will be determined in the XML (an attribute on a chapter node specifying which layout should be used for that chapter).
I have no clue on how to do such a thing with xslfast. I suspect the answer (if there is one) will be to use the multi-layout manager in some way. If so, I would like to know how?
And if i have to use the multi-layout manager, is it also possible to generate the full xsl of the multi-template?
Thanks again,
Roland Vonk
|
 |
|
|
Hi there,
I'm trying to iterate over nodes in a table. For this purpose, I'm using break-level in a table. However, I now want to print some attributes of a series of child nodes that each have a different name.
Example:
<webshop>
<Costs>
<Deliverycosts label="Verzendkosten" price="1,00" tax="True" taxincluded="True" withouttax="0,00" />
<Paymentcosts label="Kosten betaalwijze" price="2,00" tax="True" taxincluded="True" withouttax="0,00" />
<Administrativecosts label="Administratiekosten" price="3,00" tax="True" taxincluded="True" withouttax="0,00" />
<coupon label="50% korting" price="-5,00" tax="True" taxincluded="True" withouttax="0,00" />
</Costs>
</webshop>
I want to print the "label" and "price" attributes, in 4 separate rows.
So the break level on the row should be <webshop><Costs>/*
However, the dialog in which i specify the break level only allows me to select the <Costs> node, I cannot type /* anywhere (as far as I can see).
How should I do this within XSL Fast? I know how to do it in XSL or in FO, but I want to use the layout facilities in xsl fast.
Thanks for your response,
Roland
|
 |
|
|
|
|