xsl-list
[Top] [All Lists]

Re: In XSL FO: how do I repeat a piece of text other than the header or footer

2003-09-04 12:25:36
SANWAL, ABHISHEK (HP-Houston) 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?

A fo:marker has to be the first child of an element in the main flow
(apart from non-significant whitespace and other markers). This defines
the content which can be retrieved by fo:retrieve-marker into static
content. It wont be rendered into the body as the rest of the flow content
is.
You use a fo:retrieve-marker in the static content (header/footer) to
get the content from a marker. There are a few more restrictions on
where a fo:retrieve-marker can be placed, beside that it must be a child
of a fo:static-content, but basically it is ok if the whole construct
resulting from virtually replacing the fo:retrieved marker by the
retrieved content is valid.


J.Pietschmann



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



<Prev in Thread] Current Thread [Next in Thread>