[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Write specific String

Subject: Re: Write specific String
From: "Yann Verlynde" <yverlynde@xxxxxxxxx>
Date: Fri, 15 Nov 2002 18:19:38 +0100
fo header continued block container
Ok, I put this code in my header and my body but it does not work.
Can anyone can help me?

<fo:static-content flow-name="xsl-region-before">

<fo:block-container absolute-position="absolute" top="50mm">

<fo:block>

<fo:retrieve-marker retrieve-class-name="sexe-M"
retrieve-position="first-including-carryover" retrieve-boundary="page">

M

</fo:retrieve-marker>

</fo:block>

</fo:block-container>

<fo:block-container absolute-position="absolute" top="50mm">

<fo:block>

<fo:retrieve-marker retrieve-class-name="sexe-F"
retrieve-position="first-including-carryover" retrieve-boundary="page">

F

</fo:retrieve-marker>

</fo:block>

</fo:block-container>

...



and this in my body:

<fo:block>

<fo:wrapper keep-together="always">

<fo:marker marker-class-name="sexe">

<xsl:value-of select="./sexe"/>

</fo:marker>

</fo:wrapper>

</fo:block>







----- Original Message -----
From: "David Carlisle" <davidc@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, November 15, 2002 4:05 PM
Subject: Re:  Write specific String


>
> > How can you do to force the page breaking?
> well one way is to end the table and the flow then start again.
>
> > But in my example it is more difficult because I don't know how many
lines
> > are for sexe="M" and sexe="F"
> _you_ don't know but your xsl stylesheet can work it out and so write
> several 20 line tables instead of one big table.
>
> (I hope this message does't bounce so often... my last reply used the
> English spelling of one of the words above  and so generated several
> messages saying that it had been quaranteened or filtered for containing
> inappropriate material:-)
>
> Actually there is something you can do.
> Don't put any 'M' or 'F' into teh table, instead put an fo:marker with
> that text.
> then in the page heading you can retrieve the first marker on the page
> which will be an F or M depending on the contents of the first line.
> of course you want to have the letter visually in the table rather than
> in the page head, but you can use a block with vertical space, the
> marker text, negative space, to overlay the letter over the table.
>
>
> David
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit http://www.star.net.uk/stats.asp or alternatively call
> Star Internet for details on the Virus Scanning Service.
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.