Subject: RE: [xsl] Multiple elements condition From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 27 Aug 2007 11:34:39 -0400 |
It's not outputting anything.
I tried changing it around (below), but all that gave me was the first occurance of a para inside a note.
<fo:block keep-together="always">
<fo:block text-align="center" font="bold 11pt arial" space-before="3mm" >NOTE</fo:block> <fo:block padding-left="30pt" padding-right="30pt"> <xsl:choose> <xsl:when test="count(./para) > 1">
<fo:character character="□"/>□ <xsl:value-of select="para"/>
-----Original Message----- From: G. Ken Holman [mailto:gkholman@xxxxxxxxxxxxxxxxxxxx] Sent: Monday, August 27, 2007 8:07 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Multiple elements condition ... <xsl:for-each select="para"> <fo:block start-indent="30pt" end-indent="30pt"> <xsl:text>□ </xsl:text> <xsl:apply-templates/> </fo:block> </xsl:for-each> ... <fo:block start-indent="30pt" end-indent="30pt"> <xsl:apply-templates/> </fo:block>
<fo:block keep-together.within-column="always"> <fo:block text-align="center" font="bold 11pt arial" space-before="3mm" >NOTE</fo:block> <xsl:choose> <xsl:when test="count(para) > 1"> <xsl:for-each select="para"> <fo:block start-indent="30pt" end-indent="30pt"> <xsl:text>□ </xsl:text> <xsl:apply-templates/> </fo:block> </xsl:for-each> </xsl:when> <xsl:otherwise> <fo:block start-indent="30pt" end-indent="30pt"> <xsl:apply-templates/> </fo:block> </xsl:otherwise> </xsl:choose> </fo:block>
-- Upcoming public training: XSLT/XSL-FO Sep 10, UBL/code lists Oct 1 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Multiple elements conditi, Maxine Pensyl-Johnso | Thread | [xsl] Antwort: [xsl] Multiple eleme, christoph . naber |
RE: [xsl] Antwort: [xsl] Multiple e, G. Ken Holman | Date | RE: [xsl] Antwort: [xsl] Multiple e, Maxine Pensyl-Johnso |
Month |