the snippet without attachment
<?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>
Lucian Opris
Programmer Analyst
-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 9:59 AM
To: [EMAIL PROTECTED]
Subject: RE: fo:basic-link
>From: "Lucian Opris" <[EMAIL PROTECTED]>
>
>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.
I know result is same, I just wanted to know what you saw on Console. So you
dont see anything like;
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
[INFO] Parsing of document complete, stopping renderer
It may help to post what you see here.
>Attached is a snippet of FO doccument.
Hmmm.... hotmail insists that there is a virus in your attachment so I cant
look at it. Could you re-send (minus virus of course)?
<snip/>
Chris
_________________________________________________________________
Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]