RE: [xsl] In XSL FO: how do I repeat a piece of text other than the header or footer

Subject: RE: [xsl] In XSL FO: how do I repeat a piece of text other than the header or footer
From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
Date: Wed, 3 Sep 2003 11:26:18 -0500

Thanks for the help. I believe my point did not get across clearly. 
My question is not the usage of the markers and the blocks around it. 

My question is how would I use XSL to "modify" or "repopulate" markers
whenever the pages "hit" (or are incident upon) content from the "next"

? Any clearer or should I try once again :) ??

Abhishek Sanwal
HP - Houston Campus

-----Original Message-----
From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, September 03, 2003 10:17 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] In XSL FO: how do I repeat a piece of text other than
the header or footer


I'm writing off the top of my head since I haven't actually used markers

lately (my most recent project didn't need em); maybe David or Ken or
or someone could speak up.

But as I recall, it's pretty simple. The fo:marker is just an fo element

that you place into the flow like any other. It does not, however,
on the page; rather it just sits there invisible. The fo:retrieve-marker

retrieves the value of the marker currently in scope (it should be the
recent one or the first one on the page, whichever comes later; this can
tweaked using attributes on the fo:retrieve-marker element).

So all you have to do is place a marker with your chapter (inside
it is that wraps your chapter, which could be an fo:block -- you'll do
in the template matching the chapter), containing your chapter name or 
whatever, and then reference the marker from your header.

Isn't this documented on line someplace? At worst, consult the XSL-FO
Among other things, I find the test files for the FO formatters to be 
useful resources for inspecting supported patterns of usage.


  At 09:10 PM 9/2/2003, you wrote:
>I looked up marker but was wondering how I could use XSL with markers
>change the value of a Marker based on the <chapter name = "xxx"> (the
>attribute) that the content (of the page) to which the marker text is
>being applied belongs to.
>        <Chapter name = "Introduction">
>         <Section SHeading  = "Section1">
>                 <Paragraph>..
> >From what I gather marker is just a container from which one can
>retrieve values and store them. But how can I do that "modification of
>value" programmatically in XSL - depending on the value of the
>"name" in the Chapter element?

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
   Mulberry Technologies: A Consultancy Specializing in SGML and XML

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread