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

RE: In XSL FO: how do I repeat a piece of text other

Subject: RE: 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: Fri, 5 Sep 2003 16:11:11 -0500
fo marker example
I have used markers successfully in my project. Well there is one issue.


I only want to show the "retrieved marker" in the static area
But
It also shows the "marked" items as well.

In essence I want to show it only in the static retrieved location but
not in the "marked" location.

How can I do that? Is it possible to show only retrieved markers and not
the original block that was marked?? Any Ideas?

FO Ideas or XSL Ideas?

For sample:

THIS IS PRESENT IN THE STATIC HEADER:
<fo:table-cell>

<fo:block text-align="left" font-family="Futura Md" font-style="italic"
font-size="20.0pt" padding-top="4mm">

<fo:retrieve-marker retrieve-class-name="Chapter-title"
retrieve-position="first-starting-within-page"
retrieve-boundary="page"/>

</fo:block>

</fo:table-cell>

THIS IS THE MARKED STUFF PRESENT IN THE MAIN BODY FLOW:

<fo:flow flow-name="body">
      
<fo:block space-after="3pt" space-before="3pt">

<fo:marker marker-class-name="Chapter-title">

<fo:block text-align="left" font-family="Futura Md" font-style="italic"
font-size="20.0pt" padding-top="4mm">

<xsl:value-of select="@Name"></xsl:value-of>

</fo:block>
      
</fo:marker>

The Chapter Title shows up in 2 locations in the first page. I want it
to show up consistenly in a single location (whether it is in the HEADER
region or the BODY region) placed below the "document header"(stuff that
is CONSTANT throughout the document) for the length of the content that
is encompassed by that <Chapter name = "Introduction"> element.

Is this possible ?

Abhishek Sanwal
HP - Houston Campus
abhishek.sanwal@xxxxxx


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

Abhishek,

I'm glad the picture is coming into focus.

At 07:01 PM 9/3/2003, you wrote:
>Does a marker have to be written into a Header or Footer region (true
or
>false)? Can it be a part of the "xsl-body" region? Because that is kind
>of the "fee' I am getting from the FO example of RenderX.

I do not believe there are any limitations to where you may place either
an 
fo:marker or an fo:retrieve-marker. (What your formatter makes of them
is 
another matter.)

In the canonical case, the marker will go into your body flow and your 
retrieve-marker will go in your header (or footer). This is the kind of 
feature for which we sometimes see creative, unexpected applications,
however.

>Of course, I
>may be wrong as I have yet to include the marker stuff into the bigger
>picture that I am trying to paint.

I think you need to try it out and see.

>And if it does not have to be in the header/footer if it gets placed in
>some other area then does it "OVERLAP" on other content or "PUSH" the
>other content down in the body-flow region of the paginated document ?

It'll work just like any other content with respect to this stuff --
where 
it overlaps or pushes content down will depend on other factors such as 
what region it's in.

The best way to know is to try it, however.

Cheers,
Wendell


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
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:  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.