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