[XSL-LIST Mailing List Archive Home]
RE: [xsl] Multiple elements condition
I'm sorry for giving you wrong advice! I'm going to be more attentive next
> I tried this, but it only gives me the first para occurance.
> -----Original Message-----
> From: christoph.naber@xxxxxxxxxxxxxxxxxxx
> Sent: Monday, August 27, 2007 8:11 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Antwort: [xsl] Multiple elements condition
> Hello Max,
> <xsl:template match="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:when test="count(para) > 1">
> <fo:character character="□"/> <xsl:value-of
> I just edited your stylesheet a very little bit. I think you just have
> delete the "note" in count(note/para) because the active node is already
> "note". Should work right away, or I totaly missed the point.
> If you are not the intended addressee, please inform us immediately that
> you have received this e-mail by mistake and delete it. We thank you for
> your support.
If you are not the intended addressee, please inform us immediately that you
have received this e-mail by mistake and delete it. We thank you for your
cknell - Mon, 27 Aug 2007 11:12:58 -0400
cknell - Mon, 27 Aug 2007 11:42:47 -0400