XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
D LSubject: XSL:FO Marker Question
Author: D L
Date: 30 Jun 2008 01:33 PM
Originally Posted: 30 Jun 2008 01:24 PM
Hello,

I am trying to create a xsl:marker that contains a fo:table however it does not display in my header. If I remove the table the text does show. However I want to show each folder as in a seperate row. Below is the xsl. My question is can you show a table in a fo:marker? If so, what am I missing? If not, what can I do to show each folder like this:

Folder1
Folder2
Folder3
...

--static header
<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="8pt" font-family="Arial">
<fo:table width="45pc">
<xsl:call-template name="sectionHeader"/>
</fo:table>
</fo:block>
<fo:block font-size="8pt" font-family="Arial">
<fo:retrieve-marker retrieve-class-name="sectionFolders"/>
</fo:block>
<fo:block xsl:use-attribute-sets="leaderblock">
<fo:leader padding="0em" leader-length="100%" leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt" color="black"/>
</fo:block>
</fo:static-content>

--template
<xsl:template name="createFolders">
<fo:block>
<fo:marker marker-class-name="sectionFolders" >
<fo:block>
<fo:table>
<xsl:for-each select="//chapter/section/folders/folder">
<fo:table-row>
<fo:table-cell>
<xsl:value-of select="."/>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</fo:table>
</fo:block>
</fo:marker>
</fo:block>
</xsl:template>

Thanks

Posttop
Alberto MassariSubject: XSL:FO Marker Question
Author: Alberto Massari
Date: 08 Jul 2008 06:23 AM
Hi,
this is a XSL-FO-specific question that goes beyond what this forum can provide. If you think your XSL-FO is correct according to spec, also check with the producer of the XSL_FO engine you are using to verify if it's a known bug.

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.