XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Srebina hrbanSubject: XSL Seitenumbruch
Author: Srebina hrban
Date: 22 Mar 2005 07:21 AM
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!


Tony LavinioSubject: 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!

[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]

Tony LavinioSubject: 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.)

Two-column XSLT

sample input document

Srebina hrbanSubject: 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



Tony LavinioSubject: 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.

Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.