All, Maybe this is the wrong place to ask a question on XSL-FO. Can someone point me to a mailing list on XSL-FO?
Thanks a lot! Charlene -----Original Message----- From: Yan, Charlene Sent: Tuesday, May 27, 2003 5:26 PM To: [EMAIL PROTECTED] Subject: Why <fo:wrapper> tag does not work in <fo:block> I am using XSL formatting objects. I'm trying to specify different font weight to some text in one block. <fo:block><fo:wrapper font-weight="bold">Solution Name: </fo:wrapper><xsl:value-of select="name" /> </fo:block> Somehow after I add the wrapper tag, the text inside the wrapper is not displayed. Only select name is displayed. I have attached the stylesheet below. Please help me! Thanks. Charlene ========================================================================================================= <?xml version="1.0"?> <!-- CVS $Id: page2fo.xsl,v 1.2 2003/05/07 04:57:13 vgritsenko Exp $ --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:template match="/"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="solution" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm"> <fo:region-before extent="3cm"/> <fo:region-body margin-top="3cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> <fo:page-sequence-master master-name="solution"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="page" page-position="first"/> </fo:repeatable-page-master-alternatives> </fo:page-sequence-master> </fo:layout-master-set> <fo:page-sequence master-reference="solution"> <fo:static-content flow-name="xsl-region-after"> <fo:block> <fo:leader leader-pattern="rule" leader-length="18cm" /> </fo:block> <fo:block text-align="center" font-size="10pt" font-family="serif" line-height="14pt">Page <fo:page-number/></fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <xsl:apply-templates/> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> <xsl:template match="solution"> <fo:block> <fo:block font-size="14pt" space-before.optimum="24pt" text-align="Left">Solution Detail Report </fo:block> <fo:block><fo:wrapper font-weight="bold">Solution Name: </fo:wrapper><xsl:value-of select="name" /> </fo:block> <fo:block font-size="10pt" space-before.optimum="24pt" text-align="Left"><fo:wrapper font-weight="bold">Solution ID: </fo:wrapper><xsl:value-of select="swbId" /></fo:block> <fo:block font-size="10pt" space-before.optimum="24pt" text-align="Left">Solution Keyword(s): <xsl:value-of select="displayedKeywords" /></fo:block> <fo:block font-size="10pt" space-before.optimum="24pt" text-align="Left"><fo:wrapper font-weight="bold"></fo:wrapper> </fo:block> <fo:block font-size="10pt" space-before.optimum="24pt" text-align="Left">Solution Description:</fo:block> <fo:block font-size="10pt" space-before.optimum="24pt" text-align="Left"><xsl:value-of select="longDescription" /></fo:block> <fo:block font-size="10pt" space-before.optimum="24pt" text-align="Left"></fo:block> </fo:block> </xsl:template> </xsl:stylesheet> --------------------------------------------------------------------- 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]