Hi, I do not see any output in console and no errors. I've run the example from command line and I got the same result. Attached is a snippet of FO doccument. Thank you
Lucian Opris -----Original Message----- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 4:53 AM To: [EMAIL PROTECTED] Subject: Re: fo:basic-link >From: "Lucian Opris" <[EMAIL PROTECTED]> > >Hi, >I've tried to use <fo:basic-link internal-destination=".... in region-start >section but no result came out. >It's fine if I'm using the same code in regin-body. Do you know a fix for >that or is a bug? >Thanks a lot > Do you see any output in the console? Try running your example from the command line and post a small snippet of the console output to the list. I am just wondering whether content in your static regions is being truncated. It would also be helpful to see a small snippet of your FO document. Chris _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xml.apache.org/fop/extensions" xmlns:math="http://exslt.org/math" xmlns:exsl="http://exslt.org/functions" xmlns:xalan="http://xml.apache.org/xalan" extension-element-prefixes="xalan" exclude-result-prefixes="xalan"> <!--<xsl:output indent="yes"/>--> <xsl:template match="/"> <fo:root> <fo:layout-master-set> <fo:simple-page-master margin-right="0mm" margin-left="14mm" margin-bottom="0mm" margin-top="9mm" page-width="215.9mm" page-height="279.4mm" master-name="first"> <fo:region-before extent="35mm" region-name="header-first" precedence="true"/> <xsl:choose> <xsl:when test="Product/ProductStatus/@documentStatus < '7'"> <fo:region-body margin-top="35mm" margin-bottom="20mm" margin-left="66mm" margin-right="10mm" background-image="/nas/web/clients/kbw/style/Draft1.gif"/> </xsl:when> <xsl:otherwise> <fo:region-body margin-top="35mm" margin-bottom="20mm" margin-left="66mm" margin-right="10mm"/> </xsl:otherwise> </xsl:choose> <fo:region-after extent="20mm" region-name="footer-first" precedence="true"/> <fo:region-start extent="63mm" region-name="start-first"/> </fo:simple-page-master> <fo:simple-page-master margin-right="0mm" margin-left="14mm" margin-bottom="0mm" margin-top="12mm" page-width="215.9mm" page-height="279.4mm" master-name="second"> <fo:region-before extent="23mm" region-name="header-second"/> <xsl:choose> <xsl:when test="Product/ProductStatus/@documentStatus < '7'"> <fo:region-body margin-top="24mm" margin-bottom="17mm" margin-right="10mm" background-image="/nas/web/clients/kbw/style/Draft1.gif"/> </xsl:when> <xsl:otherwise> <fo:region-body margin-top="24mm" margin-bottom="17mm" margin-right="10mm"/> </xsl:otherwise> </xsl:choose> <fo:region-after extent="15mm" region-name="footer-second"/> </fo:simple-page-master> <fo:page-sequence-master master-name="run1"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="first" page-position="first"/> <fo:conditional-page-master-reference master-reference="second" page-position="rest"/> <fo:conditional-page-master-reference master-reference="second" /> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set> <fo:static-content flow-name="start-first"> <!-- THIS PORTION IS NOT WORKING --> <fo:block font-size="11pt"> <xsl:apply-templates select="//Content/Resource/Data/body_text/H2" mode="toc"/> </fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body" border-width="0.2pt"> <!-- THIS PORTION IS WORKING --> <fo:block font-size="11pt"> <xsl:apply-templates select="//Content/Resource/Data/body_text/H2" mode="toc"/> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> <xsl:template match="//Content/Resource/Data/body_text/H2"> <fo:table table-layout="fixed" id="{generate-id()}"> <fo:table-column column-width="53mm"/> <fo:table-column column-width="5mm"/> <fo:table-column column-width="133.9mm"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block padding-top="1mm" font-style="italic"> <xsl:for-each select="CallOuts"> <fo:block> <xsl:value-of select="."/><xsl:text> </xsl:text> </fo:block> </xsl:for-each> </fo:block> </fo:table-cell> <fo:table-cell/> <fo:table-cell> <fo:block space-before.optimum="4px" font-family="Times" font-weight="bold" font-size="16px"> <xsl:apply-templates/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </xsl:template> <xsl:template match="//Content/Resource/Data/body_text/H2" mode="toc"> <fo:block> <fo:basic-link internal-destination="{generate-id()}"> <xsl:value-of select="."/> </fo:basic-link> </fo:block> </xsl:template> </xsl:stylesheet>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
