Subject:XSL Seitenumbruch Author:Srebina hrban Date:22 Mar 2005 07:21 AM
Hallo!
Ich brauche dringend eure Hilfe!
Ich will in einem XSL Formular automatische
Seitenumbrüche einbauen. Es kommen 200 Datensätze aus
einem XML Formular. nach jeden 30 Datensatz soll automatisch
eine 2 Seite (mit Schriftkopf) erzeugt werden.
Kann mir dazu jemand Tips geben....
Ich bräuchts wirklich ganz dringend!
Subject:XSL Seitenumbruch Author:Tony Lavinio Date:22 Mar 2005 09:22 AM
[Roughly, this translates to:]
Hello! I need urgently your assistance!
I want to build automatic page breaks in a XSL form. 200 data records
come from a XML form to each 30 data record are 2 a side (with type
font) to be produced automatically. In addition someone can give me
tips.... I need this really completely urgently!
Thanks
[In other words, it appears that he gets 200 records at a time, and
he needs to display two columns of 30 each on a page]
[thanks to Babelfish and Herr Remlin, my senior-year German instructor]
Subject:XSL Seitenumbruch Author:Tony Lavinio Date:22 Mar 2005 09:54 AM
You didn't give sample input or output documents, so here is a best
guess at what you asked for. (You should also be pretty impressed;
we've got native English, Italian, Russian and Chinese speakers on
the team, and possibly a few more languages, but no German.)
Subject:XSL formfeed/Seitenumbruch Author:Srebina hrban Date:23 Mar 2005 03:14 AM
Hi and thanx for quick reply!<br>
<br>
Sorry because of german language in this forum.<br>
I attached an example of my problem:<br>
<br>
in the xml there are 35 position (Positionen) on one page.<br>
I want to make a formfeed in the xsl file after 25 postions.<br>
Position 26 should begin with a new page (header included).<br>
<br>
do you know a solution.<br>
thnx for you answer<br>
hrban
Subject:XSL formfeed/Seitenumbruch Author:Tony Lavinio Date:30 Mar 2005 02:34 PM
I think part of your problem is that you aren't using Stylus Studio.
Although this is a support forum for Stylus users, I will still try to
help you.
1) You aren't using XSLT 1.0, but an older obsolete proprietary
engine. That could be part of your problem. The clue is that your
namespace is set to ...WS-xsl, instead of http://www.w3.org/1999/XSL/Transform (if you were using Stylus, it
would have informed you of this). If you are using the MS engine
that supports that, quite possibly you are seeing different results
than you expect, because it's not operating in XSLT 1.0 mode.
2) The solution to break things down into smaller page-sizes has already
been given to you. Look at the first reply; what I did was use an
intermediate template to grab a group of entries at a time, and then
wrap those in a sort of <page> tag. Then from there, I processed just
the entries in the page. You can do the same thing in the stylesheet
you have.