If the shell of my XSL looks like this: 
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format
AFQjCNHZhPMfx2p6D5n2w5qLURB5k932Cw> "> 
<xsl:attribute name="master-name">STANDARD_PAGE</xsl:attribute> 
<xsl:attribute name="margin-bottom"><xsl:value-of 
<xsl:attribute name="master-reference">STANDARD_PAGE</xsl:attribute> 
<xsl:attribute name="flow-name">xsl-region-body</xsl:attribute> 
<xsl:for-each select="PAGE_DATA"> 
<xsl:attribute name="break-before">page</xsl:attribute> 
<xsl:for-each select="*"> 
So I have all my data grouped by what to print on each page, under a 
PAGE_DATA tag in the XML. Now I'm trying to put a tag under the 
PAGE_DATA tag to specify different attributes for each page, such as 
the margin-bottom mentioned here. As it is written here, it is using 
the value of the MARGIN_BOTTOM tag for the margin-bottom attribute, 
but it's only taking the last tag in the XML and applying it to all 
pages. How do I change the attributes for each page? 
Is there a place where I can set a variable from the XML tag value 
which can be processed after the for-each statement and before the 
page attributes? 

Reply via email to