[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Write specific String
Subject: Re: [xsl] Write specific String From: "Yann Verlynde" <yverlynde@xxxxxxxxx> Date: Fri, 15 Nov 2002 18:19:38 +0100 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Write specific String, David Carlisle | Thread | Re: [xsl] Write specific String, David Carlisle |
Re: [xsl] inserting verseEnd milest, David Carlisle | Date | [xsl] sequential grouping question, hb |
Month |
Keywords